Skip to content

Commit a77775f

Browse files
committed
maint: ensure nothing is imported/remains from MRIQC
1 parent 07887e0 commit a77775f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ doc = [
5353
"nbsphinx",
5454
"nibabel",
5555
"nipype >= 1.5.1",
56-
"niworkflows >= 1.7.0",
56+
"niworkflows @ git+https://github.com/nipreps/niworkflows.git@master",
5757
"numpy",
5858
"packaging",
5959
"pandoc",

sdcflows/cli/main.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ def main(argv=None):
3939
parse_args(argv)
4040

4141
if config.execution.pdb:
42-
from mriqc.utils.debug import setup_exceptionhook
42+
from niworkflows.utils.debug import setup_exceptionhook
4343

4444
setup_exceptionhook()
4545
config.nipype.plugin = "Linear"
4646

4747
# CRITICAL Save the config to a file. This is necessary because the execution graph
4848
# is built as a separate process to keep the memory footprint low. The most
4949
# straightforward way to communicate with the child process is via the filesystem.
50-
# The config file name needs to be unique, otherwise multiple mriqc instances
50+
# The config file name needs to be unique, otherwise multiple sdcflows instances
5151
# will create write conflicts.
5252
config_file = mktemp(
5353
dir=config.execution.work_dir, prefix=".sdcflows.", suffix=".toml"
@@ -133,7 +133,7 @@ def main(argv=None):
133133

134134
# CRITICAL Load the config from the file. This is necessary because the ``build_workflow``
135135
# function executed constrained in a process may change the config (and thus the global
136-
# state of MRIQC).
136+
# state of SDCFlows).
137137
config.load(config_file)
138138

139139
exitcode = exitcode or (sdcflows_wf is None) * os.EX_SOFTWARE
@@ -164,10 +164,10 @@ def main(argv=None):
164164

165165
# Clean up master process before running workflow, which may create forks
166166
gc.collect()
167-
# run MRIQC
167+
# run SDCFlows
168168
_plugin = config.nipype.get_plugin()
169169
if _pool:
170-
from mriqc.engine.plugin import MultiProcPlugin
170+
from niworkflows.engine.plugin import MultiProcPlugin
171171

172172
_plugin = {
173173
"plugin": MultiProcPlugin(

sdcflows/cli/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def _bids_filter(value):
272272
"--notrack",
273273
action="store_true",
274274
help="Opt-out of sending tracking information of this run to the NiPreps developers. This"
275-
" information helps to improve MRIQC and provides an indicator of real world usage "
275+
" information helps to improve SDCFlows and provides an indicator of real world usage "
276276
" crucial for obtaining funding.",
277277
)
278278

0 commit comments

Comments
 (0)