cbrain
cbrain copied to clipboard
Create new Boutiques support module BoutiquesInputValueFixer
Using the new support for modules in the new Boutiques integrator (#1181), I'd like a new module that fixes an input to a particular value.
The input would no longer be shown to the user in the form.
In the descriptor, the spec would look like:
"custom": {
"cbrain:integrator_modules": {
"BoutiquesInputValueFixer": {
"inputid1": "somevalue",
"inputid2": 2345
}
}
}
The PR that will implement this will have only 2 new files (one of them a symlink) and should consist in about 20 lines of code, total (rough estimate).
See #1181 for examples.
@prioux what about the input-value dependency (disables and requires and such), group validation , should those be adjusted (might need more than 20 lines of code) or dropped?
No, don't make any adjustments. We only want to bare functionality I describe here.
We expect a programmer who use the module will do it responsibly and not choose an input that has other interfering rules applied to it.