From 02b7fc50e236bc325e99bae7f6e510984c87e9a2 Mon Sep 17 00:00:00 2001 From: Eric Charles Date: Wed, 25 Oct 2023 18:26:00 -0700 Subject: [PATCH 1/2] moved utilStages to util_stages --- src/rail/core/__init__.py | 2 +- src/rail/core/{utilStages.py => util_stages.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/rail/core/{utilStages.py => util_stages.py} (100%) diff --git a/src/rail/core/__init__.py b/src/rail/core/__init__.py index 569f1e77..7a86fd90 100644 --- a/src/rail/core/__init__.py +++ b/src/rail/core/__init__.py @@ -18,6 +18,6 @@ def find_version(): from .stage import RailPipeline, RailStage #from .utilPhotometry import PhotormetryManipulator, HyperbolicSmoothing, HyperbolicMagnitudes -from .utilStages import ColumnMapper, RowSelector, TableConverter +from .util_stages import ColumnMapper, RowSelector, TableConverter from .introspection import RailEnv from .point_estimation import PointEstimationMixin diff --git a/src/rail/core/utilStages.py b/src/rail/core/util_stages.py similarity index 100% rename from src/rail/core/utilStages.py rename to src/rail/core/util_stages.py From d9b103c0394c3008b8612a683a29ae7fb9c602f7 Mon Sep 17 00:00:00 2001 From: Eric Charles Date: Wed, 25 Oct 2023 18:30:57 -0700 Subject: [PATCH 2/2] updated tests too --- tests/core/test_core.py | 2 +- tests/core/test_degraders.py | 2 +- tests/core/test_pipeline.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/core/test_core.py b/tests/core/test_core.py index 881b08f1..4b72cd96 100644 --- a/tests/core/test_core.py +++ b/tests/core/test_core.py @@ -21,7 +21,7 @@ ) from rail.core.stage import RailStage from rail.core.utils import RAILDIR -from rail.core.utilStages import ( +from rail.core.util_stages import ( ColumnMapper, RowSelector, TableConverter, diff --git a/tests/core/test_degraders.py b/tests/core/test_degraders.py index 7c0eb082..bb1aead8 100644 --- a/tests/core/test_degraders.py +++ b/tests/core/test_degraders.py @@ -6,7 +6,7 @@ import pytest from rail.core.data import DATA_STORE, TableHandle -from rail.core.utilStages import ColumnMapper +from rail.core.util_stages import ColumnMapper from rail.creation.degradation.quantityCut import QuantityCut from rail.creation.degradation.spectroscopic_selections import * diff --git a/tests/core/test_pipeline.py b/tests/core/test_pipeline.py index 9a17361d..c12bd2f9 100644 --- a/tests/core/test_pipeline.py +++ b/tests/core/test_pipeline.py @@ -7,7 +7,7 @@ from rail.core.data import TableHandle from rail.core.stage import RailPipeline, RailStage from rail.core.utils import RAILDIR -from rail.core.utilStages import ColumnMapper, TableConverter +from rail.core.util_stages import ColumnMapper, TableConverter from rail.creation.degradation.quantityCut import QuantityCut def test_pipeline():