We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70d8290 commit 95f1397Copy full SHA for 95f1397
nipype/interfaces/slicer/generate_classes.py
@@ -312,7 +312,9 @@ def grab_xml(module, launcher):
312
#workaround for a JIST bug https://www.nitrc.org/tracker/index.php?func=detail&aid=7233&group_id=228&atid=942
313
if xmlReturnValue.strip().endswith("XML"):
314
xmlReturnValue = xmlReturnValue.strip()[:-3]
315
- return xml.dom.minidom.parseString(xmlReturnValue)
+ if xmlReturnValue.strip().startswith("Error: Unable to set default atlas"):
316
+ xmlReturnValue = xmlReturnValue.strip()[len("Error: Unable to set default atlas"):]
317
+ return xml.dom.minidom.parseString(xmlReturnValue.strip())
318
# if ret.runtime.returncode == 0:
319
# return xml.dom.minidom.parseString(ret.runtime.stdout)
320
# else:
0 commit comments