fixed bugs associated with saving RA and Dec

This commit is contained in:
P.M. Sutter 2012-11-17 13:01:39 -06:00
parent 10dfe29a26
commit 90964d2be3
6 changed files with 23 additions and 25 deletions

View file

@ -62,11 +62,11 @@ for sample in dataSampleList:
os.makedirs(zobovDir)
# save this sample's information
with open(zobovDir+"/sample_info.dat", 'wb') as output:
with open(zobovDir+"/sample_info.dat", 'w') as output:
pickle.dump(sample, output, pickle.HIGHEST_PROTOCOL)
fp = open(zobovDir+"/sample_info.txt", 'w')
fp.write("Redshift range: %f - %f" %(sample.zBoundary[0], sample.zBoundary[1])
fp.close()
#fp = open(zobovDir+"/sample_info.txt", 'w')
#fp.write("Redshift range: %f - %f" %(sample.zBoundary[0], sample.zBoundary[1])
#fp.close()
# ---------------------------------------------------------------------------
if (startCatalogStage <= 1) and (endCatalogStage >= 1) and not sample.isCombo: