Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a better way to open metacatalog CONFIGFILE #280

Open
AlexDo1 opened this issue Feb 16, 2023 · 0 comments
Open

Implement a better way to open metacatalog CONFIGFILE #280

AlexDo1 opened this issue Feb 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request priority low
Milestone

Comments

@AlexDo1
Copy link
Collaborator

AlexDo1 commented Feb 16, 2023

Loading and reading the metacatalog CONFIGFILE is currently done in the following way:

from metacatalog import CONFIGFILE
import json
import importlib
with open(CONFIGFILE, 'r') as f:
config = json.load(f)

It would be nice to read and get values from CONFIGFILE directly without the need of the with open(CONFIGFILE) as f block.

@AlexDo1 AlexDo1 added the enhancement New feature or request label Feb 16, 2023
@mmaelicke mmaelicke added this to the Experiment B milestone Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority low
Projects
None yet
Development

No branches or pull requests

2 participants