mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
type
This commit is contained in:
parent
f9d08d8b6d
commit
083641a7e4
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ def loadVoidCatalog(sampleDir, dataPortion="central", loadParticles=True,
|
||||||
iLine += 1
|
iLine += 1
|
||||||
|
|
||||||
iLine = 0
|
iLine = 0
|
||||||
filName = sampleDir+"/"+prefix+"sky_positions_"+dataPortion+"_"+sample.fullName+".out"
|
fileName = sampleDir+"/"+prefix+"sky_positions_"+dataPortion+"_"+sample.fullName+".out"
|
||||||
catData = np.loadtxt(fileName, comments="#")
|
catData = np.loadtxt(fileName, comments="#")
|
||||||
for line in catData:
|
for line in catData:
|
||||||
catalog.voids[iLine].RA = float(line[0])
|
catalog.voids[iLine].RA = float(line[0])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue