apcooper / bright_analysis

DESI bright time survey simulation analysis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Read all sweeps under tree root, or just one mock type? #4

Closed apcooper closed 7 years ago

apcooper commented 7 years ago

The dirtree walk in sweeps.io can start at the tree root, or at the node above a particular type of mock -- the latter is the expected behavior, but how to trap this? Is there any point in doing the full thing?

apcooper commented 7 years ago

No, there is no point, since different mock formats are incompatible. Have a system in sweeps.io now to get (source name, sub-tree root) from input.yaml, which can be passed to the other sweep io routines as the subtree root.