mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 07:11:12 +00:00
one more try for ramses
This commit is contained in:
parent
276a551914
commit
0a69d70575
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ def launchGenerate(sample, binPath, workDir=None, inputDataDir=None,
|
|||
if not sample.shiftSimZ: reshiftFlag = "preReShift"
|
||||
|
||||
if sample.dataFormat == "ramses":
|
||||
ramsesId = (os.path.split(datafile)[1])[5:10] # picks out the particle file (should be the part_NNNNN.outXXXXX, then extracts the output id "NNNNN" as an integer)
|
||||
ramsesId = int((os.path.split(datafile)[1])[5:10]) # picks out the particle file (should be the part_NNNNN.outXXXXX, then extracts the output id "NNNNN" as an integer)
|
||||
ramsesIdLine = "ramsesId " + ramsesId
|
||||
else:
|
||||
ramsesIdLine = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue