Skip to content

Commit

Permalink
fix bug in CMT (#710)
Browse files Browse the repository at this point in the history
* fix bug in CMT

* remove nv&mv chaining plugins

* Revert "remove nv&mv chaining plugins"

This reverts commit 08bb8f4.
  • Loading branch information
JoranAngevaare authored Oct 28, 2021
1 parent d8d669f commit d4b17d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion straxen/corrections_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def _get_correction(self, run_id, correction, version):
else:
df = self.interface.read_at(correction, when)
if df[version].isnull().values.any():
raise CMTnanValueError(f"For {it_correction} there are NaN values, this means no correction available "
raise CMTnanValueError(f"For {correction} there are NaN values, this means no correction available "
f"for {run_id} in version {version}, please check e-logbook for more info ")

if correction in corrections_w_file or correction in arrays_corrections or version in 'ONLINE':
Expand Down

0 comments on commit d4b17d6

Please sign in to comment.