gammapy / gamma-cat

An open data collection and source catalog for gamma-ray astronomy
https://gamma-cat.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
15 stars 17 forks source link

Move checks of info.yaml to input.py class #211

Closed pdeiml closed 6 years ago

pdeiml commented 6 years ago

I created two new classes in input.py, one representing the collection of the info.yaml files in /input/data and the second one representing one single info.yaml file.

This is much nicer than this dirty "check_info_yaml()" function which stood without any relation in checks.py.

The only thing which I am not sure about is the name of the classes.

RTM

cdeil commented 6 years ago

@pdeiml - I'm very busy at the moment, Gammapy coding sprint next week and other project, and fixing #198 is much more important at the moment. I'll review this later.