Bug #1752

TypeError while running csiactobs.py

Added by Servillat Mathieu over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:03/31/2016
Priority:NormalDue date:
Assigned To:Servillat Mathieu% Done:

100%

Category:-
Target version:1.1.0
Duration:

Description

Running the latest version of the script, I get this error:
TypeError: GModels_save() takes exactly 2 arguments (3 given)


Recurrence

No recurrence.

History

#1 Updated by Servillat Mathieu over 8 years ago

Pull request proposed:
https://cta-gitlab.irap.omp.eu/mservillat/ctools.git
branch: 1752-csiactobs-typeerror

I simply removed self._clobber() attribute to the self._models.save() function at line 621 of csiactobs.py. It works, though I wonder if the addition of clobber was in fact intentional, implying further modifications to the GammaLib GModels.save() function maybe.

#2 Updated by Knödlseder Jürgen over 8 years ago

  • Status changed from New to Closed
  • Target version set to 1.1.0
  • % Done changed from 0 to 100

Thanks for catching that. I had in fact already corrected the bug, but the code was not yet in devel. This is fixed now.

Also available in: Atom PDF