Skip to content

Commit

Permalink
fixed the annoying telescope mismatch warning
Browse files Browse the repository at this point in the history
  • Loading branch information
KshitijAggarwal committed Apr 12, 2021
1 parent f34ae09 commit 640fb3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions your/formats/psrfits.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,9 @@ def __init__(self, filenames):
if ii == 0:
self.telescope = telescope
else:
if telescope != self.telescope[0]:
if telescope != self.telescope:
logger.warning(
f"'TELESCOP' values don't match for files 0 ({self.telescope[0]}) and {ii}({telescope})!"
f"'TELESCOP' values don't match for files 0 ({self.telescope}) and {ii}({telescope})!"
)

self.observer = primary["OBSERVER"]
Expand Down

0 comments on commit 640fb3c

Please sign in to comment.