-
Notifications
You must be signed in to change notification settings - Fork 18
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
Changes to pipeline.ini files (global) #332
Comments
Thanks @jscaber Please note that the existing input validation happens after the I think some form of input validation is desirable, but I understand we need to be a bit flexible as well. Here are my thoughts:
It would be also required to have a key word in the parameter name. For example, containing file and/or dir to be explicit about what input you would expect a file or any other configuration parameter (i.e. job queue name). Moreover, it would be required to distinguish between input and output files, as the former can be tested but the latter cannot. |
This is to initiate a debate on pipeline.ini files, to provide a convention that will work for input validation.
In its current format, input validation would happen directly on the ini file before anything else happens.
1. How to handle file paths
There have been two suggestions:
2. How to handle common directories
As per Ian's comment in pull request #331, providing the directory once may be desirable for directories with multiple required files in them. Any ideas on handling something like this using input validation would be helpful:
And what about this, where basename is then assembled into multiple files basename.file1 and basename.file2 by python later?
3. How to deal with defaults
Options
4. How to deal with mandatory input
Ideas that can be parsed by an input validation script
Ultimately, the question is, do we want to do this at all?
Apart from having to change all pipeline.ini files and the pipelines (depending on choices), it would also require reconfiguring all your existing inis.
The text was updated successfully, but these errors were encountered: