From d17287ce510b6e0598f166e4dc6e7ed2e7c14a0e Mon Sep 17 00:00:00 2001 From: Eric Koch Date: Mon, 26 Aug 2024 15:02:56 -0400 Subject: [PATCH] Add warnings on use of 3D filaments in prep for initial merge to master --- fil_finder/filfinderPPP.py | 6 +++++- fil_finder/filfinderPPV.py | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/fil_finder/filfinderPPP.py b/fil_finder/filfinderPPP.py index 6aff6df..a19f718 100644 --- a/fil_finder/filfinderPPP.py +++ b/fil_finder/filfinderPPP.py @@ -30,7 +30,11 @@ class FilFinderPPP(BaseInfoMixin, Skeleton3D): """ - def __init__(self, image, wcs=None, mask=None, distance=None, save_name='FilFinder3D_output'): + def __init__(self, image, wcs=None, mask=None, distance=None, save_name='FilFinderPPP_output'): + + # Add warning that this is under development + warnings.warn("This algorithm is under development. Not all features are implemented" + " or tested. Use with caution.") self._has_skan() diff --git a/fil_finder/filfinderPPV.py b/fil_finder/filfinderPPV.py index b44daba..2d80dac 100644 --- a/fil_finder/filfinderPPV.py +++ b/fil_finder/filfinderPPV.py @@ -36,7 +36,11 @@ class FilFinderPPV(Skeleton3D): """ - def __init__(self, image, mask=None, save_name='FilFinder3D_output'): + def __init__(self, image, mask=None, save_name='FilFinderPPV_output'): + + # Add warning that this is under development + warnings.warn("This algorithm is under development. Not all features are implemented" + " or tested. Use with caution.") self._has_skan()