diff --git a/conda/meta.yaml b/conda/meta.yaml index 6055c644..04ad14e7 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -28,7 +28,6 @@ build: - auxtel_visit = lsst.ts.IntegrationTests.auxtel_visit:run_auxtel_visit - comcam_calibrations = lsst.ts.IntegrationTests.comcam_calibrations:run_comcam_calibrations - comcam_image_taking = lsst.ts.IntegrationTests.image_taking_verification:run_comcam_image_taking - - comcam_offline_standby = lsst.ts.IntegrationTests.maintel_offline_standby:run_maintel_offline_standby - eas_disabled_enabled = lsst.ts.IntegrationTests.eas_disabled_enabled:run_eas_disabled_enabled - eas_standby_disabled = lsst.ts.IntegrationTests.eas_standby_disabled:run_eas_standby_disabled - gencam_disabled_enabled = lsst.ts.IntegrationTests.gencam_disabled_enabled:run_gencam_disabled_enabled @@ -36,10 +35,8 @@ build: - enabled_offline = lsst.ts.IntegrationTests.enabled_offline:run_enabled_offline - lsstcam_calibrations = lsst.ts.IntegrationTests.lsstcam_calibrations:run_lsstcam_calibrations - lsstcam_image_taking = lsst.ts.IntegrationTests.image_taking_verification:run_lsstcam_image_taking - - lsstcam_offline_standby = lsst.ts.IntegrationTests.maintel_offline_standby:run_maintel_offline_standby - maintel_disabled_enabled = lsst.ts.IntegrationTests.maintel_disabled_enabled:run_maintel_disabled_enabled - maintel_housekeeping = lsst.ts.IntegrationTests.maintel_housekeeping:run_maintel_housekeeping - - maintel_offline_standby = lsst.ts.IntegrationTests.maintel_offline_standby:run_maintel_offline_standby - maintel_standby_disabled = lsst.ts.IntegrationTests.maintel_standby_disabled:run_maintel_standby_disabled - obssys_disabled_enabled = lsst.ts.IntegrationTests.obssys_disabled_enabled:run_obssys_disabled_enabled - obssys_standby_disabled = lsst.ts.IntegrationTests.obssys_standby_disabled:run_obssys_standby_disabled diff --git a/pyproject.toml b/pyproject.toml index df218d21..5e43a7fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,14 +41,12 @@ auxtel_track_target = "lsst.ts.IntegrationTests.auxtel_track_target:run_auxtel_t auxtel_visit = "lsst.ts.IntegrationTests.auxtel_visit:run_auxtel_visit" comcam_calibrations = "lsst.ts.IntegrationTests.comcam_calibrations:run_comcam_calibrations" comcam_image_taking = "lsst.ts.IntegrationTests.image_taking_verification:run_comcam_image_taking" -comcam_offline_standby = "lsst.ts.IntegrationTests.maintel_offline_standby:run_comcam_offline_standby" eas_disabled_enabled = "lsst.ts.IntegrationTests.eas_disabled_enabled:run_eas_disabled_enabled" eas_standby_disabled = "lsst.ts.IntegrationTests.eas_standby_disabled:run_eas_standby_disabled" gencam_disabled_enabled = "lsst.ts.IntegrationTests.gencam_disabled_enabled:run_gencam_disabled_enabled" gencam_standby_disabled = "lsst.ts.IntegrationTests.gencam_standby_disabled:run_gencam_standby_disabled" enabled_offline = "lsst.ts.IntegrationTests.enabled_offline:run_enabled_offline" lsstcam_image_taking = "lsst.ts.IntegrationTests.image_taking_verification:run_lsstcam_image_taking" -lsstcam_offline_standby = "lsst.ts.IntegrationTests.maintel_offline_standby:run_lsstcam_offline_standby" maintel_disabled_enabled = "lsst.ts.IntegrationTests.maintel_disabled_enabled:run_maintel_disabled_enabled" maintel_housekeeping = "lsst.ts.IntegrationTests.maintel_housekeeping:run_maintel_housekeeping" maintel_standby_disabled = "lsst.ts.IntegrationTests.maintel_standby_disabled:run_maintel_standby_disabled" diff --git a/python/lsst/ts/IntegrationTests/maintel_offline_standby.py b/python/lsst/ts/IntegrationTests/maintel_offline_standby.py deleted file mode 100644 index f213286f..00000000 --- a/python/lsst/ts/IntegrationTests/maintel_offline_standby.py +++ /dev/null @@ -1,82 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# This file is part of ts_IntegrationTests. -# -# Developed for the Vera C. Rubin Observatory Telescope & Site Software system. -# This product includes software developed by the Vera C. Rubin Observatory -# Project (https://www.lsst.org). -# See the COPYRIGHT file at the top-level directory of this distribution -# for details of code ownership. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License - -__all__ = [ - "ComCamOfflineStandby", - "LsstCamOfflineStandby", - "run_comcam_offline_standby", - "run_lsstcam_offline_standby", -] - -import asyncio - -from lsst.ts.IntegrationTests import BaseScript - -from .configs.config_registry import registry - - -class ComCamOfflineStandby(BaseScript): - """Execute the given Standard or External script, - with the given Yaml configuration, - placed in the given ScriptQueue location. - - """ - - index: int = 1 - configs: tuple = (registry["comcam_offline_standby"],) - scripts: list = [ - ("set_summary_state.py", BaseScript.is_standard), - ] - - def __init__(self) -> None: - super().__init__() - - -class LsstCamOfflineStandby(BaseScript): - """Execute the given Standard or External script, - with the given Yaml configuration, - placed in the given ScriptQueue location. - - """ - - index: int = 1 - configs: tuple = (registry["lsstcam_offline_standby"],) - scripts: list = [ - ("set_summary_state.py", BaseScript.is_standard), - ] - - def __init__(self) -> None: - super().__init__() - - -def run_comcam_offline_standby() -> None: - script_class = ComCamOfflineStandby() - num_scripts = len(script_class.scripts) - print(f"\nComCam Offline to Standby; running {num_scripts} scripts") - asyncio.run(script_class.run()) - - -def run_lsstcam_offline_standby() -> None: - script_class = LsstCamOfflineStandby() - num_scripts = len(script_class.scripts) - print(f"\nLSSTCam Offline to Standby; running {num_scripts} scripts") - asyncio.run(script_class.run())