mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
fixed bugs associated with saving RA and Dec
This commit is contained in:
parent
10dfe29a26
commit
90964d2be3
6 changed files with 23 additions and 25 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue