Commit 3233a1d2f55b6b9ab4f825e69db9323b8232183b

Authored by Jürgen Knödlseder
1 parent 71e98c40

Correctly handle classical binned analysis (no loading of cube response information is required)

Showing 1 changed file with 1 additions and 1 deletions
cscripts/cspull.py
... ... @@ -377,7 +377,7 @@ class cspull(ctools.cscript):
377 377 chatter=self.m_chatter)
378 378  
379 379 # If stacked, add stacked responses and model
380   - if self.obs.size() > 0 and self.m_enumbins > 0:
  380 + if self.obs.size() > 1 and self.m_enumbins > 0:
381 381 obs[0].response(self.m_exposure, self.m_psfcube, self.m_bckcube)
382 382 obs.models(self.m_stackmodels)
383 383  
... ...