Skip to content

Missing config file on new_api branch #14

@NiallMac

Description

@NiallMac

Importing utils generates the following error due to a missing config file on the new_api branch.

>>> from falafel import utils
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/global/u1/m/maccrann/cmb/lensing/code/falafel/falafel/utils.py", line 14, in <module>
    config = io.config_from_yaml(os.path.dirname(os.path.abspath(__file__)) + "/../input/config.yml")
  File "/global/homes/m/maccrann/.conda/envs/lenspipe/lib/python3.7/site-packages/orphics/io.py", line 96, in config_from_yaml
    with open(filename) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/global/u1/m/maccrann/cmb/lensing/code/falafel/falafel/../input/config.yml'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions