-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure that
fname_out
is set properly for fsleyes
command when…
… `-o` is not passed (#4480) The fallback filename (`{fname_in}_reg`) was only set inside the context of the `Transform` class. Meaning, if `-o` wasn't passed, then the `fsleyes` command would display a blank filename. So, I moved setting `fname_out` to before we call `Transform`, which is more in line with our API/CLI separation conventions anyway. (Side note: I notice that our variable naming conventions are all over the place for this module (`fname`, `file`, `filename`, etc.). Maybe that's worth tidying up in this PR, too?) Fixes #4478.
- Loading branch information
1 parent
05c7ede
commit e552508
Showing
1 changed file
with
5 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters