From c4b6f93c1e3173a925bb344794a31573434288f4 Mon Sep 17 00:00:00 2001 From: ldivenere Date: Thu, 12 Apr 2018 19:18:32 +0200 Subject: [PATCH] bug fix in csresspec (#2448) --- cscripts/csresspec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cscripts/csresspec.py b/cscripts/csresspec.py index 67ae830..ad3f6b7 100755 --- a/cscripts/csresspec.py +++ b/cscripts/csresspec.py @@ -539,7 +539,7 @@ class csresspec(ctools.csobservation): # Calculate Model and residuals. If model cube is provided load # it if self._use_maps: - modcube = gammalib.GCTAEventCube(self['inmodel'].filename()) + modcube = gammalib.GCTAEventCube(self['modcube'].filename()) # ... otherwise calculate it now else: -- libgit2 0.21.4