Closed prioux closed 2 years ago
The module should add an info panel to the output name description with an explanation of what substitution components are allowed, including those that are obtained from an input file.
Fully implemented in commit https://github.com/aces/cbrain/commit/ba92b49d171adfc4984b3b97e16237e49d96de13
Many CBRAIN tasks integrated in the core brain API have the ability to create output files that contain parterns chosen by the user. E.g. a user can say the outputs of a large array of tasks are something like
{infile}_{taskid}_{date}.out
and the actual outputs end up named likesubject04_Narval-12345_2022-02-02.out
.Boutiques tasks don't do that: when a user provides anoutput name such as
abcd.ext
, they always end up with output names likeabcd_UNIQUETASKID.ext
.Let's create a new output renaming module that will support the standard patterns that some of the CBRAIN libraries support (see the methods that start with
output_renaming
inapp/models/cluster_task_rb
for instance)