From 1b87c366893945606b490f6f12f50aca7e1f6787 Mon Sep 17 00:00:00 2001 From: James Kerns Date: Wed, 10 Jun 2015 15:58:08 -0500 Subject: [PATCH] fixed calls to Image --- pylinac/flatsym.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylinac/flatsym.py b/pylinac/flatsym.py index 87be994dc..0435c744c 100644 --- a/pylinac/flatsym.py +++ b/pylinac/flatsym.py @@ -41,14 +41,14 @@ def __init__(self, filepath=None): If a str, path to the image file. """ if filepath is not None and is_valid_file(filepath): - self._load_file(filepath, True) + self._load_file(filepath) else: self.array = np.zeros((1,1)) def load_demo_image(self): """Load the demo image.""" demo_file = osp.join(osp.dirname(__file__), 'demo_files', 'flatsym', 'flatsym_demo.dcm') - self._load_file(demo_file, to_gray=True) + self._load_file(demo_file) def _plot_image(self, ax, plane, position): """Plot the image analyzed and a line showing where the profile was taken."""