mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
removed unecessary figure directory
This commit is contained in:
parent
f8f960d7dd
commit
acdb19e6df
6 changed files with 3 additions and 13 deletions
|
@ -45,8 +45,6 @@ workDir = basePath
|
|||
logDir = os.path.join(workDir,"logs","example_observation")
|
||||
|
||||
# output directory for figures
|
||||
figDir = os.path.join(workDir,"figs","example_observation")
|
||||
|
||||
# optimization: maximum number of parallel threads to use
|
||||
numZobovThreads = 8
|
||||
|
||||
|
|
|
@ -44,9 +44,6 @@ voidOutputDir = PWD+"/outputs/"
|
|||
# output directory for log files
|
||||
logDir = PWD+"/logs/example_simulation/"
|
||||
|
||||
# output directory for figures
|
||||
figDir = PWD+"/figs/example_simulation/"
|
||||
|
||||
# where to place the pipeline scripts
|
||||
scriptDir = PWD+"/example_simulation/"
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ class Bunch:
|
|||
|
||||
# -----------------------------------------------------------------------------
|
||||
def launchPrep(sample, binPath, workDir=None, inputDataDir=None,
|
||||
outputDir=None, figDir=None, logFile=None, useComoving=False,
|
||||
outputDir=None, logFile=None, useComoving=False,
|
||||
continueRun=None):
|
||||
|
||||
startTime = time.time()
|
||||
|
|
|
@ -275,7 +275,6 @@ def findEdgeGalaxies(galFile, maskFile, edgeGalFile, contourFile,
|
|||
flagList[nearest] = 1
|
||||
|
||||
# flag galaxies near redsfhit boundaries
|
||||
# TODO - save time by only covering portion of sphere that has data
|
||||
|
||||
log.write(" Flagging galaxies near redshift bounds...\n")
|
||||
sphereIndices = np.arange(len(contourMap))
|
||||
|
|
|
@ -55,9 +55,6 @@ else:
|
|||
if not os.access(logDir, os.F_OK):
|
||||
os.makedirs(logDir)
|
||||
|
||||
if not os.access(figDir, os.F_OK):
|
||||
os.makedirs(figDir)
|
||||
|
||||
if not continueRun:
|
||||
print(" Cleaning out log files...")
|
||||
|
||||
|
@ -93,7 +90,7 @@ for sample in dataSampleList:
|
|||
|
||||
launchPrep(sample, PREPARE_PATH, workDir=workDir,
|
||||
inputDataDir=inputDataDir, outputDir=outputDir,
|
||||
figDir=figDir, logFile=logFile, useComoving=sample.useComoving,
|
||||
logFile=logFile, useComoving=sample.useComoving,
|
||||
continueRun=continueRun)
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
|
|
|
@ -181,14 +181,13 @@ setName = "{setName}"
|
|||
|
||||
workDir = "{voidOutputDir}/{setName}/"
|
||||
inputDataDir = "{inputDataDir}"
|
||||
figDir = "{figDir}/{setName}/"
|
||||
logDir = "{logDir}/{setName}/"
|
||||
|
||||
numZobovDivisions = {numZobovDivisions}
|
||||
numZobovThreads = {numZobovThreads}
|
||||
mergingThreshold = {mergingThreshold}
|
||||
"""
|
||||
scriptFile.write(dataInfo.format(setName=setName, figDir=figDir,
|
||||
scriptFile.write(dataInfo.format(setName=setName,
|
||||
logDir=logDir, voidOutputDir=voidOutputDir,
|
||||
inputDataDir=catalogDir,
|
||||
numZobovDivisions=numZobovDivisions,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue