This commit is contained in:
Guilhem Lavaux 2014-11-20 10:57:46 +01:00
commit 005b6624fd
2 changed files with 3 additions and 1 deletions

View file

@ -105,6 +105,8 @@ SimulationLoader *gadgetLoader(const std::string& snapshot, double Mpc_unitLengt
int num_files;
SimuData *d;
cout << " File to load is:" << snapshot.c_str() << endl;
try
{
d = loadGadgetMulti(snapshot.c_str(), -1, 0);

View file

@ -271,7 +271,7 @@ def launchGenerate(sample, binPath, workDir=None, inputDataDir=None,
if sample.dataType == "observation":
(boxVol, nbar) = vp.getSurveyProps(sample.maskFile, sample.zRange[0],
sample.zRange[1], sample.zRange[0], sample.zRange[1], "all",
useLCDM=useComoving)
useComoving=useComoving)
else:
iX = float(sample.mySubvolume[0])
iY = float(sample.mySubvolume[1])