From 40c6b169b189bda2559f96d9e80fce5652a8a363 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Thu, 28 Mar 2024 10:24:09 -0400 Subject: [PATCH] Update niworkflows.py --- qsiprep/interfaces/niworkflows.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qsiprep/interfaces/niworkflows.py b/qsiprep/interfaces/niworkflows.py index 3a40613f..19f74e7c 100644 --- a/qsiprep/interfaces/niworkflows.py +++ b/qsiprep/interfaces/niworkflows.py @@ -415,7 +415,8 @@ class RobustMNINormalizationOutputSpecRPT( reporting.ReportCapableOutputSpec, ants.registration.RegistrationOutputSpec, ): - pass + # Try to work around TraitError of "undefined 'reference_image' attribute" + reference_image = traits.File(desc="the output reference image") class RobustMNINormalizationRPT(RegistrationRC, SpatialNormalization):