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

straightening.cache file is output to the working directory, even when -ofolder is used #4138

Closed
joshuacwnewton opened this issue Jun 16, 2023 · 0 comments · Fixed by #4156
Closed
Labels
bug category: fixes an error in the code sct_register_to_template context:

Comments

@joshuacwnewton
Copy link
Member

joshuacwnewton commented Jun 16, 2023

For scripts that have an image-straightening step (e.g. sct_register_to_template, sct_label_vertebrae), we allow re-use of straightened image files to save time. To facilitate this, we use a straightening.cache file.

In sct_register_to_template, if -ofolder is used, the 3 straightened image files will be output to -ofolder, but the straightening.cache file will not. Instead, it will be created in the PWD.

By comparison, sct_label_vertebrae will correctly output all 4 straightening files to the -ofolder path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug category: fixes an error in the code sct_register_to_template context:
Projects
None yet
1 participant