From 42a934e0f162359750af63d2f94daba979728515 Mon Sep 17 00:00:00 2001 From: "P.M. Sutter" Date: Tue, 3 Jun 2014 23:40:39 -0400 Subject: [PATCH] no need for int function --- python_tools/void_python_tools/backend/launchers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_tools/void_python_tools/backend/launchers.py b/python_tools/void_python_tools/backend/launchers.py index 8e7cd56..6cd4cfa 100644 --- a/python_tools/void_python_tools/backend/launchers.py +++ b/python_tools/void_python_tools/backend/launchers.py @@ -186,7 +186,7 @@ def launchGenerate(sample, binPath, workDir=None, inputDataDir=None, if not sample.shiftSimZ: reshiftFlag = "preReShift" if sample.dataFormat == "ramses": - 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) + 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) ramsesIdLine = "ramsesId " + ramsesId else: ramsesIdLine = ""