Skip to content

Commit 1786c40

Browse files
authored
Merge pull request #130 from neuroscout/ref/download_dirs
FIX: Don't drop if -i defined
2 parents cde1c0f + 54598db commit 1786c40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

neuroscout_cli/commands/run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,6 @@ def run(self, upload_only=False):
128128
cli_version=VERSION,
129129
n_subjects=n_subjects)
130130

131-
if not no_drop:
131+
# Drop files if no separate install dir, and the user has not said otherwise.
132+
if not self.install_dir and not no_drop:
132133
drop(str(self.preproc_dir.absolute()))

0 commit comments

Comments
 (0)