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

T1T2w model file/url was missing from the config #232

Merged
merged 1 commit into from
Mar 5, 2023
Merged

Conversation

akhanf
Copy link
Member

@akhanf akhanf commented Mar 5, 2023

Related to issue #229.

Problem was I neglected to add the T1T2w model file/url info, even though the model is available on zenodo along with the others.

The error was occurring in get_model_tar(), but was causing the following cryptic error:

CyclicGraphException in line 225 of /home/zeng/Documents/hippunfold/hippunfold/workflow/rules/gifti.smk: Cyclic dependency on rule warp_gii_to_native.

since the get_model_tar() function was silently failing since the T1T2w model key didn't exist in the config.

An additional check has now also been added which should give a more meaningful error message if this were to happen in the future.

Note: to use the T1T2w model you will have to run hippunfold_download_models again (will download missing models only). I'll also build a new container so it is present there too..

Problem was I neglected to add the T1T2w model file/url info, even
though the model is available on zenodo along with the others.

The error was occurring in get_model_tar(), but was causing the following cryptic error:

```
CyclicGraphException in line 225 of /home/zeng/Documents/hippunfold/hippunfold/workflow/rules/gifti.smk: Cyclic dependency on rule warp_gii_to_native.
```
since the get_model_tar() function was silently failing since the T1T2w model key didn't exist in the config.

An additional check has now also been added which should give a
more meaningful error message if this were to happen in the future.
@akhanf akhanf added the bug Something isn't working label Mar 5, 2023
@akhanf akhanf merged commit b716801 into master Mar 5, 2023
@akhanf akhanf deleted the fix-t1t2model branch March 5, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant