Ignore:
Timestamp:
Apr 20, 2017 6:29:34 AM (8 years ago)
Author:
andyfaff
Children:
0cc77d8
Parents:
b636dfc5
git-author:
Andrew Nelson <andyfaff@…> (04/20/17 06:25:57)
git-committer:
Andrew Nelson <andyfaff@…> (04/20/17 06:29:34)
Message:

MAINT: use raise Exception() not raise Exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/fit/AbstractFitEngine.py

    r7432acb rb9d74f3  
    250250            msg = "FitData1D: invalid error array " 
    251251            msg += "%d <> %d" % (np.shape(self.dy), np.size(fx)) 
    252             raise RuntimeError, msg 
     252            raise RuntimeError(msg) 
    253253        return (self.y[self.idx] - fx[self.idx]) / self.dy[self.idx], fx[self.idx] 
    254254             
Note: See TracChangeset for help on using the changeset viewer.