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

gzipped source files interfering with 'force'=false when copying #572

Closed
Remi-Gau opened this issue May 24, 2023 · 0 comments · Fixed by #584
Closed

gzipped source files interfering with 'force'=false when copying #572

Remi-Gau opened this issue May 24, 2023 · 0 comments · Fixed by #584

Comments

@Remi-Gau
Copy link
Collaborator

Remi-Gau commented May 24, 2023

is option 'force'=false is ignored when using copy_to_derivative?

Or are gzipped source files interfering with 'force'=false?

filter = struct('suffix', 'bold', ...
    'task', 'VisStim', ...
    'space', 'MNI152NLin2009cAsym', ...
    'desc', 'preproc');
bids.copy_to_derivative(bidsroot_prep, ...
    'pipeline_name', 'SPM12', ...
    'out_path', bidsroot_deriv, ...
    'filter', filter, 'unzip', true, ...
    'force', false, 'tolerant', true, ...
    'use_schema', false);

Executing the above copy_to_derivative statement twice leads to updated time stamps, that is why I think files are copied regardless if they already exist.

@Remi-Gau Remi-Gau added this to the v0.2.0 milestone Jun 17, 2023
@Remi-Gau Remi-Gau moved this to To do in BIDS-matlab Jun 18, 2023
@Remi-Gau Remi-Gau moved this from To do to In progress in BIDS-matlab Jun 18, 2023
@Remi-Gau Remi-Gau linked a pull request Jun 18, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from In progress to Done in BIDS-matlab Jun 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant