Skip to content

Commit

Permalink
Update to new template loading mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Nov 19, 2021
1 parent 90910e5 commit 8f3441b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@
from jdaviz.core.events import AddDataMessage, RemoveDataMessage, SnackbarMessage
from jdaviz.core.registries import tray_registry
from jdaviz.core.template_mixin import TemplateMixin
from jdaviz.utils import load_template

__all__ = ['SimpleAperturePhotometry']


@tray_registry('imviz-aper-phot-simple', label="Imviz Simple Aperture Photometry")
class SimpleAperturePhotometry(TemplateMixin):
template = load_template("aper_phot_simple.vue", __file__).tag(sync=True)
template_file = __file__, "aper_phot_simple.vue"
dc_items = List([]).tag(sync=True)
subset_items = List([]).tag(sync=True)
background_value = Any(0).tag(sync=True)
Expand Down

0 comments on commit 8f3441b

Please sign in to comment.