IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 9, 2014, 2:32:00 PM (12 years ago)
Author:
eugene
Message:

fix header fields to use formatted floats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/ippToPsps/jython/testCode.py

    r37168 r37208  
    2020    def run(self):
    2121
    22         myvalue = "10.0"
    23         print "test line"
    24         print "log of 5.0: " + str(math.log10(float(myvalue)))
     22        for x in range(0, 8):
     23            for y in range(0, 8):
    2524
    26         names = {}
    27 
    28         filters =['g','r','i']
    29         for f in filters:
    30 
    31             names[f] = f + ".00000"
    32             print "filter: " + f + " = " + names[f]
     25                if not ((x == 0) and (y == 1)):
     26                    print "case 1"
     27                    print "x : " + str(x)
     28                    print "y : " + str(y)
     29                else:
     30                    print "case 2"
     31                    print "x : " + str(x)
     32                    print "y : " + str(y)
    3333
    3434'''
Note: See TracChangeset for help on using the changeset viewer.