Skip to content

Commit

Permalink
Move FitsOpener into settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Jul 16, 2024
1 parent 274151a commit 796d55c
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion stellarphot/gui_tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

from .comparison_functions import *
from .fits_opener import *
from .photometry_widget_functions import *
from .seeing_profile_functions import *
2 changes: 1 addition & 1 deletion stellarphot/gui_tools/comparison_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from astrowidgets.ginga import ImageWidget

from stellarphot import SourceListData
from stellarphot.gui_tools.fits_opener import FitsOpener
from stellarphot.gui_tools.seeing_profile_functions import set_keybindings
from stellarphot.settings import (
PartialPhotometrySettings,
Expand All @@ -22,6 +21,7 @@
ui_generator,
)
from stellarphot.settings.custom_widgets import SettingWithTitle
from stellarphot.settings.fits_opener import FitsOpener
from stellarphot.utils.comparison_utils import (
crossmatch_APASS2VSX,
in_field,
Expand Down
2 changes: 1 addition & 1 deletion stellarphot/gui_tools/seeing_profile_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

import matplotlib.pyplot as plt

from stellarphot.gui_tools.fits_opener import FitsOpener
from stellarphot.io import TessSubmission
from stellarphot.photometry import CenterAndProfile
from stellarphot.photometry.photometry import EXPOSURE_KEYWORDS
Expand All @@ -25,6 +24,7 @@
ui_generator,
)
from stellarphot.settings.custom_widgets import ChooseOrMakeNew
from stellarphot.settings.fits_opener import FitsOpener

__all__ = [
"set_keybindings",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"import numpy as np\n",
"\n",
"from stellarphot.differential_photometry.aij_rel_fluxes import *\n",
"from stellarphot.gui_tools.fits_opener import FitsOpener"
"from stellarphot.settings.fits_opener import FitsOpener"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"\n",
"from stellarphot.transit_fitting import TransitModelFit\n",
"from stellarphot.transit_fitting.gui import *\n",
"from stellarphot.gui_tools.fits_opener import FitsOpener\n",
"from stellarphot.settings.fits_opener import FitsOpener\n",
"from stellarphot.plotting import plot_many_factors\n",
"\n",
"from astropy.timeseries import BinnedTimeSeries, TimeSeries, aggregate_downsample\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
" exotic_settings_widget,\n",
" populate_TOI_boxes,\n",
")\n",
"from stellarphot.gui_tools.fits_opener import FitsOpener"
"from stellarphot.settings.fits_opener import FitsOpener"
]
},
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from stellarphot.gui_tools import FitsOpener
from stellarphot.settings.fits_opener import FitsOpener


def test_fits_opener_title():
Expand Down

0 comments on commit 796d55c

Please sign in to comment.