Skip to content

Commit

Permalink
fix two typos that were making a big mess of things.
Browse files Browse the repository at this point in the history
  • Loading branch information
KathleenLabrie committed Apr 17, 2024
1 parent d5cb575 commit 346adf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions astrodata/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,8 @@ def _header(self, hdr1, hdr2, ignore=None):

for kw in hdr1:
# GEM-TLM is "time last modified"
if kw not in timestamp_keys.values() and kw not in ignore_list and
kw not in self.ignore_kw:
if (kw not in timestamp_keys.values() and kw not in ignore_list and
kw not in self.ignore_kw):
try:
v1, v2 = hdr1[kw], hdr2[kw]
except KeyError: # Missing keyword in AD2
Expand Down
2 changes: 1 addition & 1 deletion gempy/library/wavecal.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ class holding parameters for the UI, passed from the primitive's Config
init_models, ui_params.toDict(), peaks=peaks,
peak_weights=weights[ui_params.weighting],
linelist=input_data["linelist"], fwidth=fwidth, kdsigma=kdsigma, k=k,
dcenwave = input_data["cenwave_accuracy"], filename=ext.filename)
dcenwave = input_data["cenwave_accuracy"],
bounds_setter = input_data["bounds_setter"], filename = ext.filename)

input_data["fit"] = fit1d
Expand Down

0 comments on commit 346adf6

Please sign in to comment.