Skip to content

Commit

Permalink
Fix Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ebachelet committed Sep 26, 2024
1 parent ddf7dfb commit 1c989b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion pyLIMA/fits/MINUIT_fit.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import time as python_time

import numpy as np
import scipy
from pyLIMA.fits.LM_fit import LMfit

from iminuit import Minuit
Expand Down
7 changes: 2 additions & 5 deletions pyLIMA/models/ML_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,9 +706,7 @@ def fancy_to_pyLIMA_parameters(self, fancy_parameters):
value = getattr(self.fancy_parameters, standard_key)(fancy_parameters)
fancy_parameters[standard_key] = value

except Exception as e:

e=1
except Exception:

pass

Expand All @@ -721,8 +719,7 @@ def pyLIMA_to_fancy_parameters(self, pyLIMA_parameters):
value = getattr(self.fancy_parameters, fancy_key)(pyLIMA_parameters)
pyLIMA_parameters[fancy_key] = value

except Exception as e:
e=1
except Exception :

pass

Expand Down

0 comments on commit 1c989b2

Please sign in to comment.