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

labconfig should do some initialisation on config files #2

Open
philipstarkey opened this issue Oct 3, 2014 · 0 comments
Open

labconfig should do some initialisation on config files #2

philipstarkey opened this issue Oct 3, 2014 · 0 comments
Labels
enhancement New feature or request major

Comments

@philipstarkey
Copy link
Member

Original report (archived issue) by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).


When a LabConfig is instantiated, it should call a general initialisation function that tries to make sense of the labconfig file.

This should do things like:

  • Ensure the experiment name is a valid python module name
  • Automatically create a subfolder for the experiment in analysislib and labscriptlib, with an init.py in each (if they don't already exist).
  • Ensure paths to shared drive exist

And there are more things I'm sure, which are currently scattered throughout the programs that use labconfig, but ought to be in a consistent place.

This initialisation should be able to be suppressed with a keyword argument.

Perhaps also this is where setting of default arguments should live, rather than in the individual programs. We don't have 'runmanagerconfig' and 'BLACSconfig', so so long as we have one config file, all its defaults should probably live in the same place.

@philipstarkey philipstarkey added major enhancement New feature or request labels Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request major
Projects
None yet
Development

No branches or pull requests

1 participant