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

Let users specify full path to output files #516

Open
alexdewar opened this issue Sep 11, 2024 · 1 comment
Open

Let users specify full path to output files #516

alexdewar opened this issue Sep 11, 2024 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@alexdewar
Copy link
Contributor

Following #513, users can specify the output folder via the command line, but the output file name still must be set in the config file. It might be useful to let users set the full path to output folders via the command line.

The problem is that each run of the program produces many output files. The current solution to this is to allow a placeholder string {TIMESTAMP} in the file name specified in the config file, which is expanded to the current timestamp whenever an output file is created. We could apply this exact same mechanism to a command-line argument, however as curly braces are special characters in bash (not sure about powershell), users would have to know to escape them, so this could prove to be a bit of a footgun.

@alexdewar alexdewar added enhancement New feature or request question Further information is requested labels Sep 11, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Health-GPS Sep 11, 2024
@jamesturner246
Copy link
Contributor

jamesturner246 commented Sep 13, 2024

Not sure it's any better, but what if we just omit the curly braces? Or even dunder...

something__TIMESTAMP__something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants