mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 17:28:02 +00:00
Add subselection of Quijote snapshots
This commit is contained in:
parent
ab9002a45a
commit
a1141408ea
1 changed files with 2 additions and 0 deletions
|
@ -314,6 +314,8 @@ class Paths:
|
|||
files = glob(
|
||||
"/mnt/extraspace/rstiskalek/Quijote/Snapshots_fiducial/*")
|
||||
files = [int(f.split("/")[-1]) for f in files]
|
||||
warn("Taking only the snapshots that also have a FoF catalogue!")
|
||||
files = [f for f in files if f < 100]
|
||||
else:
|
||||
raise ValueError(f"Unknown simulation name `{simname}`.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue