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

Change mkdir to make_path in run_defacing_script.pl #978

Merged
merged 1 commit into from
May 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion uploadNeuroDB/bin/deface_minipipe.pl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

use strict;
use File::Basename;
use File::Path qw(make_path);
use File::Temp qw/ tempfile tempdir /;
use Getopt::Long;

Expand Down Expand Up @@ -88,7 +89,7 @@

# create the directory where the final outputs will be saved
unless (-e $output_dir) {
mkdir($output_dir) or print "\nCould not create directory '$output_dir'. Error is: '$!'\n";
make_path($output_dir) or print "\nCould not create directory '$output_dir'. Error is: '$!'\n";
}


Expand Down