Skip to content

Commit

Permalink
Disable workaround for changed rerun handling.
Browse files Browse the repository at this point in the history
I think Jim changed the rerun handling back to what it was.
  • Loading branch information
PaulPrice committed Apr 2, 2013
1 parent f7f193b commit 4d70175
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/hsc/integration/detrend.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ def __init__(self, name, camera, detrend, idDict, detrendIdDict, dataIdList, rer
# XXX The calibs used to end up in the root CALIB directory, but since Jim changed the rerun handling,
# they go in a new rerun CALIB directory. I'm more concerned to get things working than fix things up,
# so here's a workaround.
create = "mkdir -p @WORKDIR@/" + cameraInfo.addDir + "/CALIB"
link = "ln -s ../rerun/" + detrend + "/CALIB/" + detrend.upper()
link += " @WORKDIR@/" + cameraInfo.addDir + "/CALIB/" + detrend.upper()
# create = "mkdir -p @WORKDIR@/" + cameraInfo.addDir + "/CALIB"
# link = "ln -s ../rerun/" + detrend + "/CALIB/" + detrend.upper()
# link += " @WORKDIR@/" + cameraInfo.addDir + "/CALIB/" + detrend.upper()

super(ReduceDetrendsTest, self).__init__(name, ["pbs", "calib", detrend, camera],
[command, create, link], **kwargs)
[command, create], **kwargs)

# def preHook(self, workDir=".", **kwargs):
# suprimeDataDir = os.path.split(os.path.abspath(workDir))
Expand Down

0 comments on commit 4d70175

Please sign in to comment.