diff --git a/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py b/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py index 87e8b963d77bb1fb2a8fc78066dabebf6fca6dce..674b6df1a8ed92142af2836604e25abea6a60561 100644 --- a/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py +++ b/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py @@ -15,11 +15,6 @@ from typing import Optional import pendulum as pendulum from carta_envoy.connect import ArchiveConnect, NotificationConnect, RedisConnect from carta_envoy.templates import CartaWrapper -from carta_envoy.utilities import ( - CARTA_HTML_FILENAME, - CARTA_TEMPLATE, - CARTA_URL_REPLACE_TEXT, -) from pendulum import DateTime # pylint: disable=E0401, R0913, R1721, W0603, W1203 @@ -259,22 +254,6 @@ class CartaLauncher: else: self.logger.warning("WARNING: CARTA not running.") - @staticmethod - def create_frame_html(carta_url: str, html_dir: Path) -> Path: - """ - Generate the HTML page containing the CARTA URL in a frame. - - :param carta_url: URL of CARTA session - :param html_dir: where HTML will be written - :return: HTML file we just created - """ - - new_content = CARTA_TEMPLATE.replace(CARTA_URL_REPLACE_TEXT, carta_url) - html_file = html_dir / CARTA_HTML_FILENAME - html_file.write_text(new_content) - - return html_file - @staticmethod def _calculate_timeout_date(timeout_minutes: int) -> DateTime: """