From 522d1cb1915efb1e27c5ca637675a574edab1207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A9r=C3=A9nice=20Batut?= Date: Wed, 10 Jul 2024 15:46:14 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: paulzierep --- bin/create_interactive_table.py | 4 ++-- bin/extract_all_tools.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/create_interactive_table.py b/bin/create_interactive_table.py index 06570df8..b7cfdccb 100644 --- a/bin/create_interactive_table.py +++ b/bin/create_interactive_table.py @@ -22,7 +22,7 @@ def filter_table(df: pd.DataFrame, filter_col: list, remove_col: list) -> pd.Dat Filter table by values and columns :param df: dataframe to filter - :param filter_col: list of columns used to filer + :param filter_col: list of columns used to filter :param remove_col: list of columns to remove from table """ for col in filter_col: @@ -93,7 +93,7 @@ def export_html_table(html_table: str, output_fp: str) -> None: "-f", action="append", default=[], - help="Name of columns used to filter row (must contain boolean values)", + help="Name of columns used to filter the rows (must contain boolean values). Only rows with True in this column will be used.", ) parser.add_argument( "--template", diff --git a/bin/extract_all_tools.sh b/bin/extract_all_tools.sh index 65610f66..3cae1a7a 100755 --- a/bin/extract_all_tools.sh +++ b/bin/extract_all_tools.sh @@ -36,7 +36,7 @@ then fi fi else - echo "Tool extraction"; + echo "Tool extraction" python bin/extract_galaxy_tools.py \ extract \ --api $GITHUB_API_KEY \