Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup the initial config file? #62

Open
valosekj opened this issue Aug 24, 2023 · 0 comments
Open

Backup the initial config file? #62

valosekj opened this issue Aug 24, 2023 · 0 comments

Comments

@valosekj
Copy link
Member

valosekj commented Aug 24, 2023

The newly added track_corrections function modifies/overwrites the existing YML config file to track which files have been modified.

For example, from the initial config.yml:

FILES_LABEL:
- sub-amuAL_T1w.nii.gz
- sub-amuALT_T1w.nii.gz

To:

CORR_LABEL:
- sub-amuAL_T1w.nii.gz
- sub-amuALT_T1w.nii.gz
FILES_LABEL: []

During #57, we discussed if we want to backup the original config file before modifications, for example as config_backup.yml, see here.

If so, config_backup.yml is not optimal because it would be overwritten every time manual_correction.py starts. I suggest including a timestamp in the filename.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant