From 6f92b442037a9270cc930aa22a2eb2c235b2bf00 Mon Sep 17 00:00:00 2001 From: Brian Gunnarson Date: Thu, 20 Feb 2025 18:45:35 -0800 Subject: [PATCH] run fix-style --- merlin/db_scripts/db_study.py | 5 +---- merlin/main.py | 10 ++++------ 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/merlin/db_scripts/db_study.py b/merlin/db_scripts/db_study.py index 133f261f..b97a02c3 100644 --- a/merlin/db_scripts/db_study.py +++ b/merlin/db_scripts/db_study.py @@ -96,10 +96,7 @@ def __str__(self) -> str: study_id = self.get_id() runs_str = "Runs:\n" for run in self.get_all_runs(): - runs_str += ( - f" - ID: {run.get_id()}\n" - f" Workspace: {run.get_workspace()}\n" - ) + runs_str += f" - ID: {run.get_id()}\n" f" Workspace: {run.get_workspace()}\n" return ( f"Study with ID {study_id}\n" f"------------{'-' * len(study_id)}\n" diff --git a/merlin/main.py b/merlin/main.py index 76d9407f..68d507be 100644 --- a/merlin/main.py +++ b/merlin/main.py @@ -881,12 +881,10 @@ def setup_argparse() -> None: # pylint: disable=R0915 # TODO enable support for deletion of study by name, ID, or passing in spec file # Subcommand: delete study - delete_study = ( - delete_subcommands.add_parser( - "study", - help="Delete a specific study by name.", - formatter_class=ArgumentDefaultsHelpFormatter, - ) + delete_study = delete_subcommands.add_parser( + "study", + help="Delete a specific study by name.", + formatter_class=ArgumentDefaultsHelpFormatter, ) delete_study.add_argument( "study",