From 648d00a804ffd5325a8ff14e79e51141d947791e Mon Sep 17 00:00:00 2001 From: Chris Filo Gorgolewski Date: Thu, 12 Jan 2017 18:06:07 -0800 Subject: [PATCH] Revert "[RTM] blank the values of height and width in the svg etree object" --- niworkflows/tests/test_reports.py | 3 ++- niworkflows/viz/utils.py | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/niworkflows/tests/test_reports.py b/niworkflows/tests/test_reports.py index dff370dbfeb..6ff9f92877c 100644 --- a/niworkflows/tests/test_reports.py +++ b/niworkflows/tests/test_reports.py @@ -5,8 +5,8 @@ import os import unittest -import pkg_resources as pkgr from shutil import copy +import pkg_resources as pkgr import nibabel as nb from nilearn import image @@ -14,6 +14,7 @@ from niworkflows.data.getters import (get_mni_template_ras, get_ds003_downsampled, get_ants_oasis_template_ras) + from niworkflows.interfaces.registration import ( FLIRTRPT, RobustMNINormalizationRPT, ANTSRegistrationRPT) from niworkflows.interfaces.segmentation import FASTRPT diff --git a/niworkflows/viz/utils.py b/niworkflows/viz/utils.py index 42f872b4ba4..29885c329c5 100644 --- a/niworkflows/viz/utils.py +++ b/niworkflows/viz/utils.py @@ -280,8 +280,6 @@ def compose_view(bg_svgs, fg_svgs, ref=0, out_file='report.svg'): ] fig.append(newroots) out_file = op.abspath(out_file) - fig.root.set("width", "") - fig.root.set("height", "") fig.save(out_file) # Add styles for the flicker animation