Skip to content

Commit

Permalink
flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorris3 committed Jun 18, 2020
1 parent cb9f6a1 commit 197af47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion linea/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def concatenate(self):
extra_attrs = ['time', 'mask']
c = namedtuple('ConcatenatedLightCurve', self.attrs + extra_attrs)
for attr in self.attrs + extra_attrs:
if attr is not 'time':
if attr != 'time':
setattr(c, attr, np.concatenate([getattr(lc, attr)
for lc in self]))
else:
Expand Down
1 change: 0 additions & 1 deletion linea/planets.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@ def from_name(cls, name):
planets = load(f)

return cls(**planets[name])

0 comments on commit 197af47

Please sign in to comment.