Skip to content

Commit

Permalink
run fix-style
Browse files Browse the repository at this point in the history
  • Loading branch information
bgunnar5 committed Feb 21, 2025
1 parent 9f9e20f commit 6f92b44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
5 changes: 1 addition & 4 deletions merlin/db_scripts/db_study.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 4 additions & 6 deletions merlin/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6f92b44

Please sign in to comment.