-
Notifications
You must be signed in to change notification settings - Fork 533
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
changing Node._output_dir to realpath #2639
Conversation
… (abspath returns /var/.. and realpath returns /private/var/... and some files are removed by clean_working_directory
Codecov Report
@@ Coverage Diff @@
## master #2639 +/- ##
==========================================
- Coverage 67.6% 64.06% -3.55%
==========================================
Files 340 338 -2
Lines 43003 42952 -51
Branches 5321 5318 -3
==========================================
- Hits 29073 27516 -1557
- Misses 13231 14383 +1152
- Partials 699 1053 +354
Continue to review full report at Codecov.
|
@djarecka are unused outputs still removed within a workflow (by default)? if so, i'm good with this change - nice catch |
@mgxd - yes, unused output is still removed, you can check that you don't have all dcm files at the end. My changes just ensure that we run
I hope that we don't have interfaces that return |
OK, let's merge this and see! |
I changed
abspath
torealpath
inNode._output_dir
to fix problems with temporary directories on OSX.abspath
gives/var/...
andrealpath
returns/private/var...
. Inclean_working_directory
we hadneeded_files
that used/private/var/...
andcwd
used/var/...
, so many files were removed.I'm not sure if this is the best place to change the path, I can do it also in
clean_working_directory
, if for any reason we should keepabspath
in_output_dir
.There is a chance that this will solve the general issue from #2395. For now it fixed all tests from
heudiconv
, so should also solve this issue