Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Dec 31, 2024
1 parent d03863c commit 81a1ebf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions lcviz/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def load_data(self, data, data_label=None, extname=None):
parser_reference='tess_dvt_parser',
data_label=data_label,
extname=extname)
return

super().load_data(
data=data,
Expand Down
4 changes: 3 additions & 1 deletion lcviz/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
'kepler': {'prefix': 'Q', 'card': 'QUARTER'},
'k2': {'prefix': 'C', 'card': 'CAMPAIGN'},
'tess': {'prefix': 'S', 'card': 'SECTOR'},
'tess dvt': {'prefix': '', 'card': 'EXTNAME'}
}


Expand All @@ -35,8 +36,9 @@ def tess_dvt_parser(app, file_obj, data_label=None, show_in_viewer=True, **kwarg
flux=data['LC_INIT'],
flux_err=data['LC_INIT_ERR'])
lc.meta = hdulist[0].header
lc.meta['MISSION'] = 'TESS'
lc.meta['MISSION'] = 'TESS DVT'
lc.meta['FLUX_ORIGIN'] = "LC_INIT"
lc.meta['EXTNAME'] = header['EXTNAME']

if extname is not None and header['EXTNAME'] != extname:
show_ext_in_viewer = False
Expand Down

0 comments on commit 81a1ebf

Please sign in to comment.