From dd68b1f91cfe53dd26ffc952bfe82645fea25bb3 Mon Sep 17 00:00:00 2001 From: "P.M. Sutter" Date: Mon, 18 Feb 2013 08:28:26 -0600 Subject: [PATCH] harmonized subsample defition between generateMock and prepareCatalogs --- python_tools/pipeline_source/prepareCatalogs.in.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python_tools/pipeline_source/prepareCatalogs.in.py b/python_tools/pipeline_source/prepareCatalogs.in.py index c5d6c9b..b9dab2c 100755 --- a/python_tools/pipeline_source/prepareCatalogs.in.py +++ b/python_tools/pipeline_source/prepareCatalogs.in.py @@ -242,11 +242,13 @@ for thisSubSample in sorted(subSamples, reverse=True): fileToUse = prefix+"ss"+str(thisSubSample)+"_z" suffix = ".dat" elif dataFormat == "gadget": - subSampleToUse = thisSubSample + subSampleToUse = keepFraction + #subSampleToUse = thisSubSample fileToUse = particleFileBase suffix = "" elif dataFormat == "lanl": - subSampleToUse = thisSubSample + subSampleToUse = keepFraction + #subSampleToUse = thisSubSample fileToUse = particleFileBase suffix = "" elif dataFormat == "random":