From f7d9e11c7e1ddb3409477b7d2c22e4c20f6bea24 Mon Sep 17 00:00:00 2001 From: Keith Jamison Date: Fri, 26 Jun 2020 17:20:44 -0400 Subject: [PATCH 1/2] Add --no-tty option to fmriprep-docker.py --- wrapper/fmriprep_docker.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wrapper/fmriprep_docker.py b/wrapper/fmriprep_docker.py index 87e7f392d..cc5436ee9 100755 --- a/wrapper/fmriprep_docker.py +++ b/wrapper/fmriprep_docker.py @@ -325,6 +325,8 @@ def _is_file(path, parser): g_dev.add_argument('--network', action='store', help='Run container with a different network driver ' '("none" to simulate no internet connection)') + g_dev.add_argument('--no-tty', action='store_true', + help='Run docker without TTY flag -it') return parser @@ -393,9 +395,12 @@ def main(): stdout=subprocess.PIPE) docker_version = ret.stdout.decode('ascii').strip() - command = ['docker', 'run', '--rm', '-it', '-e', + command = ['docker', 'run', '--rm', '-e', 'DOCKER_VERSION_8395080871=%s' % docker_version] + if not opts.no_tty: + command.append('-it') + # Patch working repositories into installed package directories if opts.patch: for pkg, repo_path in opts.patch.items(): From b8e893c10b6553eea69d1154bdbde51d7ddd38ae Mon Sep 17 00:00:00 2001 From: Keith Jamison Date: Mon, 29 Jun 2020 15:13:06 -0400 Subject: [PATCH 2/2] update .zenodo.json --- .zenodo.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.zenodo.json b/.zenodo.json index 7a8714dea..2f0804722 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -2,6 +2,13 @@ "title": "fMRIPrep: a robust preprocessing pipeline for functional MRI", "description": "

fMRIPrep is a robust and easy-to-use pipeline for preprocessing of diverse fMRI data. The transparent workflow dispenses of manual intervention, thereby ensuring the reproducibility of the results.

", "contributors": [ + + { + "affiliation": "Department of Radiology, Weill Cornell Medicine", + "name": "Jamison, Keith W.", + "orcid": "0000-0001-7139-6661", + "type": "Researcher" + }, { "affiliation": "Department of Psychology, Florida International University", "name": "Salo, Taylor",