Skip to content

Commit 7f8536f

Browse files
committed
FIX: Remove debugging
1 parent 61b97ef commit 7f8536f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

niworkflows/engine/splicer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def splice_workflow(
4040
root_wf.write_graph('pre-slice.dot', format='png', graph2use='colored')
4141

4242
substitutions = _get_substitutions(root_wf, replacements)
43-
print(f'Substitutions: {substitutions}')
4443
_splice_components(root_wf, substitutions, debug=debug)
4544

4645
if write_graph:
@@ -64,7 +63,6 @@ def _get_substitutions(
6463
def _fetch_tags(wf: Workflow) -> dict[str, 'EngineBase']:
6564
"""Query all nodes in a workflow and return a dictionary of tags and nodes."""
6665
tagged = {}
67-
print(f'Querying {wf}')
6866
for node in wf._graph.nodes:
6967
if hasattr(node, '_tag'):
7068
tagged[node._tag] = node

niworkflows/engine/tests/test_splicer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def test_splice(wf0):
148148
'nested': _create_null_wf('nested2_wf', tag='nested'),
149149
'c': _create_null_wf('c_wf', tag='c'),
150150
}
151-
wf = splice_workflow(wf0, replacements, write_graph=True, debug=True)
151+
wf = splice_workflow(wf0, replacements)
152152

153153
assert wf.get_node('a2_wf')
154154
assert wf.get_node('b_wf').get_node('nested2_wf')

0 commit comments

Comments
 (0)