From 18a066bafb4322b475a9b5ce5d8eefb4b0ae7e78 Mon Sep 17 00:00:00 2001 From: Altan Orhon Date: Thu, 21 Sep 2023 16:37:05 -0700 Subject: [PATCH] Cleaned up --- hyakvnc/__main__.py | 1 + hyakvnc/vnc_instance.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/hyakvnc/__main__.py b/hyakvnc/__main__.py index f4017fa..87bfe29 100644 --- a/hyakvnc/__main__.py +++ b/hyakvnc/__main__.py @@ -159,6 +159,7 @@ def cmd_stop(job_id: Optional[int] = None, stop_all: bool = False): def cmd_status(): + logger.info("Finding running VNC jobs") vnc_instances = HyakVncInstance.find_running_instances(instance_prefix=app_config.apptainer_instance_prefix, apptainer_config_dir=app_config.apptainer_config_dir) for instance in vnc_instances: diff --git a/hyakvnc/vnc_instance.py b/hyakvnc/vnc_instance.py index ec9ef6c..b10df36 100644 --- a/hyakvnc/vnc_instance.py +++ b/hyakvnc/vnc_instance.py @@ -122,7 +122,6 @@ def cancel(self): logger.info(f"Removing PID file {self.vnc_pid_file_path}") Path(self.vnc_pid_file_path).expanduser().unlink() - def __repr__(self): return f"HyakVncInstance({self.apptainer_instance_info}, instance_prefix={self.instance_prefix}, apptainer_config_dir={self.apptainer_config_dir})"