wadpac / GGIR

Code corresponding to R package GGIR
https://wadpac.github.io/GGIR/
Apache License 2.0
94 stars 60 forks source link

Add central function to aid checking milestone folders #1146

Closed vincentvanhees closed 3 months ago

vincentvanhees commented 3 months ago

Fixes #1144

Function checks:

This is useful when running part X when part X - 1 has not been run yet, which always produced cryptic error messages.

We already had some of this functionality but ad-hoc in some of the parts. In this PR I am moving all this to a central function to ensure we systematically do this for parts 1 to 5. I am skipping this for part 6, because part 6 is a bit different as it depends on threshold combination specific input folders.

Checklist before merging:

If NEW GGIR parameter(s) were added then these NEW parameter(s) are:

If GGIR parameter(s) were deprecated these parameter(s) are:

jhmigueles commented 3 months ago

Changes look good to me and they work as expected in my tests, thanks!