neurodatascience / nipoppy

Lightweight framework for neuroimaging-clinical data organization/processing
https://nipoppy.readthedocs.io/en/latest/
MIT License
10 stars 19 forks source link

Add phases/stages to tracker workflow #226

Open michellewang opened 1 month ago

michellewang commented 1 month ago

Right now the new tracker workflow (run by nipoppy track) only does the pipeline_complete check. It shouldn't be too hard to add the phases/stages but we need to agree on a spec for the config.

We should also discuss how the tracker configs should fit within the global config. At the minimum we should have the option of having TRACKER_CONFIG or TRACKER_CONFIG_FILE, similar to what we are doing with descriptors right now.

Though since the dashboard doesn't show stages/phases I guess this is not a super high priority?

michellewang commented 1 month ago

After discussing with Nikhil and Rémi, the tentative new spec for the tracker config file is:

[
    {
        "NAME": "pipeline_complete",
        "PATHS": [...]
    },
    ...
]

With a check that exactly one of the dictionaries must have "pipeline_complete" as its name.