Skip to content

Commit

Permalink
fix typo in Tseries.read
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartLittlefair committed Sep 24, 2021
1 parent 34f6d35 commit ee33c77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hipercam/hlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -1717,10 +1717,10 @@ def read(cls, fname, has_exposures=True):
"""
if has_exposures:
t, te, y, ye, bmask = np.loadtxt(fname, unpack=True)
return Tseries(t, y, ye, mask, te)
return Tseries(t, y, ye, bmask, te)
else:
t, y, ye, bmask = np.loadtxt(fname, unpack=True)
return Tseries(t, y, ye, mask, None)
return Tseries(t, y, ye, bmask, None)


def scatter(
Expand Down

0 comments on commit ee33c77

Please sign in to comment.