psferguson / chrysomallos

linking stars to observational selection functions through ssi
GNU General Public License v3.0
1 stars 0 forks source link

how should we internally reference directories/files #14

Open psferguson opened 9 months ago

psferguson commented 9 months ago

do we want to be smart about determine where to look for files or just rely on relative paths being correct? lsst.utils.getPackageDir() or chrysomallos.__file__

(this is a reminder to talk about this)

example from generate_dwarf_parameters.py:

if args.config is None:
        config_dict = "./python/chrysomallos/config/example_stamps.yaml"
psferguson commented 9 months ago

one of us should figure out the proper way to do this