Skip to content

Commit

Permalink
clean up comments, and comment out the travelerVersion so that the cu…
Browse files Browse the repository at this point in the history
…rrently active one is picked up by default
  • Loading branch information
Johann Cohen-Tanugi committed Sep 21, 2016
1 parent 893614f commit b619a75
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions aspic_testing/v1/batch_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
from exceptions import ValueError, IndexError
import numpy as np

# data_dir="/sps/lsst/DataBE/ASPIC_production/"
# archive_dir="/lsst-fr/data/camera/ASPIC_data"


# #chipdirs = glob.glob(os.path.join(data_dir,"CHIP*"))
# chipdirs = glob.glob(os.path.join(data_dir,"CHIP0395"))
# logdir = os.path.join(data_dir,'Logs')

# logfiles = glob.glob(os.path.join(logdir,"log-*.txt"))
# logfiles = filter(lambda x: (not 'try' in x)and(not 'Test' in x)and(('PreScreening' in x)or('PostScreening' in x)or('ClearPending' in x)), logfiles)

# myConn = Connection('cohen', db='Dev', prodServer=False)

def input_parsing(inputs, move_to=None):
"""
parse input in order to build the list of requested chip directories, and
Expand Down Expand Up @@ -96,7 +83,7 @@ def batch_process(myConn, chipdirs, logfiles, site, location):
hardwareGroup='LCA-11721',
htype='LCA-11721',
site='CCIN2P3',
travelerVersion='1',
# travelerVersion='1',
jhInstall='cohen')
print "Traveler execution succeeded"
except Exception,msg:
Expand Down

0 comments on commit b619a75

Please sign in to comment.