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

User specific parameters #42

Closed
chriskelly opened this issue Sep 5, 2022 · 2 comments
Closed

User specific parameters #42

chriskelly opened this issue Sep 5, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@chriskelly
Copy link
Owner

First step towards enabling others to use the package. Possible implementation would be creating a sub-folder in the data folder that's not synced to Git. This folder would have a params.json that's specific to the user. The original params.json would used as the default and copied when the user first runs.

@chriskelly chriskelly added the enhancement New feature or request label Sep 5, 2022
@chriskelly
Copy link
Owner Author

I suppose this isn't actually an issue if this were a distributed package. The actual concern here is for developers to be able to have a config file that doesn't get over-written when another developer syncs with git. Could just put the config file in a folder that doesn't sync and provide a link to download a template config file for anyone new to the project

@chriskelly
Copy link
Owner Author

Now each contributor can modify their own params.json without affecting the others. It may delete your current params.json file, but you can copy a template from data/default_params into /data. I've also added an error message that will tell the user this. If someone's ambitious, they could automate this.

chriskelly added a commit that referenced this issue Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant