populse / capsul

Collaborative Analysis Platform : Simple, Unifying, Lean
Other
7 stars 14 forks source link

Rewrite path generation algorithm #232

Closed sapetnioc closed 2 years ago

sapetnioc commented 2 years ago

Given an executable, the process of generating paths given some metadata (subject, time point, etc.) will be the following:

1) Call a metadata_controller(execution_context, executable) method that will create a controller containing all the metadata necessary to generate all paths for the executable. This method parses the parameters to identify the schemas that are used by the process. For instance, Morphologist could use 3 schemas : BrainVISA for inputs, BIDS for outputs and Shared for Shared database.

2) The metadata controller object will have a generate_paths(executable) method that will generate a value for all path parameters of the process. This method will use customization information defined in a process and schema specific class (written by the process developer for each process and each schema).