Skip to content

Commit

Permalink
coerce TPF cubes into /pix2
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Oct 17, 2024
1 parent a5f024a commit 56eae76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lcviz/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def to_data(self, obj, reference_time=None, unit=u.d):
data[cid] = component_data
if hasattr(component_data, 'unit'):
try:
data.get_component(cid).units = str(component_data.unit)
data.get_component(cid).units = str(component_data.unit/u.pix**2)
except KeyError: # pragma: no cover
continue

Expand Down

0 comments on commit 56eae76

Please sign in to comment.