prunevoids now can handle coordinate changes to cosmoving space in observations

This commit is contained in:
P.M. Sutter 2013-08-23 13:13:55 -05:00
parent 46b9d3ec40
commit 7ba3b2a98d
3 changed files with 79 additions and 7 deletions

View file

@ -301,7 +301,7 @@ def launchZobov(sample, binPath, zobovDir=None, logDir=None, continueRun=None,
# -----------------------------------------------------------------------------
def launchPrune(sample, binPath,
summaryFile=None, logFile=None, zobovDir=None,
continueRun=None):
continueRun=None, useLCDM=False):
sampleName = sample.fullName
@ -329,6 +329,11 @@ def launchPrune(sample, binPath,
periodicLine = " --periodic='" + getPeriodic(sample) + "'"
if useLCDM:
useLCDMFlag = "--useLCDM"
else:
useLCDMFlag = ""
if not (continueRun and (jobSuccessful(logFile, "NetCDF: Not a valid ID\n") \
or jobSuccessful(logFile, "Done!\n"))):
cmd = binPath
@ -348,6 +353,7 @@ def launchPrune(sample, binPath,
cmd += " --numVoids=" + str(numVoids)
cmd += observationLine
cmd += periodicLine
cmd += useLCDMFlag
cmd += " --outputDir=" + zobovDir
cmd += " --sampleName=" + str(sampleName)
cmd += " &> " + logFile