You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GaussianOverR object has no attribute createpeak #65
When running terminationripples, it raises error ideal_peaks = Peaks([pf1.createpeak(p, "pwa") for p in pars]) ^^^^^^^^^^^^^^ AttributeError: 'GaussianOverR' object has no attribute 'createpeak'
I believe all calls to createpeak() should be replaced by calls to actualize() . They all occur in very, very old tests that I evidently stopped running before this name change. (No doubt, this was sloppy of me.) The files are:
baselines/base.py
peaks/terminationripples.py
peaks/gaussian.py
peaks/gaussianoverr.py
Note that throughout the code, all test code in blocks like if __name__ == '__main__': are not vital to the functioning of SrMise itself. In the end most of these should probably be removed as proper tests are written.
Activity
Ainamacar commentedon Aug 14, 2024
I believe all calls to
createpeak()should be replaced by calls toactualize(). They all occur in very, very old tests that I evidently stopped running before this name change. (No doubt, this was sloppy of me.) The files are:Note that throughout the code, all test code in blocks like
if __name__ == '__main__':are not vital to the functioning of SrMise itself. In the end most of these should probably be removed as proper tests are written.stevenhua0320 commentedon Sep 4, 2024
Closed by PR #72