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

Version control of configuration YAML files #169

Closed
zacsimile opened this issue Aug 2, 2022 · 2 comments
Closed

Version control of configuration YAML files #169

zacsimile opened this issue Aug 2, 2022 · 2 comments

Comments

@zacsimile
Copy link
Collaborator

There are quite a few commits changing the configuration YAML files, and this can lead to/has led to issues where ETL constants and/or hardware configurations have changed on the instrument computer based on changes from another machine. Two potential options:

  1. .gitignore the configuration YAMLs, and only ship example_config.yaml, example_experiment.yaml, etc. with the software
  2. Switch the read/write location of the YAMLs to somewhere like AppData/.ASLM (Windows)/~/.ASLM (Mac/Linux) and leave the YAMLs where they currently are as examples

I prefer (2).

@AdvancedImagingUTSW
Copy link
Collaborator

Go with your preference.

@zacsimile
Copy link
Collaborator Author

Done in #179. Configuration files are now stored in AppData/.ASLM/config on Windows or ~/.ASLM/config on Mac/Linux.

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

No branches or pull requests

2 participants