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

EVA-3414 add Writable config script #49

Merged
merged 5 commits into from
Oct 9, 2023

Conversation

nitin-ebi
Copy link
Contributor

No description provided.

Comment on lines 83 to 89
def load_config(*args):
"""Load a config file from any path provided.
If none are provided then read from a file path provided in the environment variable CONFIG."""
cfg.load_config_file(
*args,
os.getenv('CONFIG')
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this part of submission_config should be lifted to pyutils.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the way pyutils is organised at the moment, I would prefer to have this class in config.py

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to config.py

@nitin-ebi nitin-ebi requested a review from tcezard October 6, 2023 11:49
@nitin-ebi nitin-ebi merged commit b15ba91 into EBIvariation:master Oct 9, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants