From 39d861a53d33d6ef96bcc0bee58b4762eb03cff7 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Thu, 28 Dec 2023 15:31:45 -0500 Subject: [PATCH] changelog entry --- CHANGES.rst | 3 +++ lcviz/plugins/flux_origin/flux_origin.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 10fa9251..3d8de718 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -3,6 +3,9 @@ * Clone viewer tool. [#74] +* Flux origin plugin to choose which column is treated as the flux column for each dataset. [#77] + + 0.1.0 (12-14-2023) ------------------ diff --git a/lcviz/plugins/flux_origin/flux_origin.py b/lcviz/plugins/flux_origin/flux_origin.py index d1781d8d..964f44e6 100644 --- a/lcviz/plugins/flux_origin/flux_origin.py +++ b/lcviz/plugins/flux_origin/flux_origin.py @@ -58,6 +58,8 @@ def _include_col(lk_obj, col): return False if col.endswith('quality'): return False + # TODO: need to think about flatten losing units in the flux column (and that other + # columns still exist but are not flattened) return lk_obj[col].unit == lk_obj['flux'].unit lk_obj = self.dataset.selected_obj