From f21af825e7cf6a6a5048cce3487d253ab461348b Mon Sep 17 00:00:00 2001 From: Mallory Wittwer Date: Fri, 12 Jan 2024 22:05:31 +0100 Subject: [PATCH] Fix software tools --- src/helpers/__init__.py | 3 +-- src/sections/exploring_further/online_resources/page.md | 2 +- .../starter_packs/packs/detection-and-tracking/page.md | 2 +- .../starter_packs/packs/image-data-visualization/page.md | 2 +- src/sections/starter_packs/packs/image-denoising/page.md | 2 +- src/sections/starter_packs/packs/image-registration/page.md | 2 +- src/sections/starter_packs/packs/image-segmentation/page.md | 2 +- .../starter_packs/packs/performance-optimization/page.md | 2 +- 8 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/helpers/__init__.py b/src/helpers/__init__.py index 926c9ed..8281659 100644 --- a/src/helpers/__init__.py +++ b/src/helpers/__init__.py @@ -24,7 +24,6 @@ style="width:100%;margin:auto", paging=False, showIndex=False, - dom="tr" ) show_notebook_case_studies = partial( @@ -88,7 +87,7 @@ def filter_software_tools(tags: List[str]): df = DATAFRAME_SOFTWARE_TOOLS.copy() mask = df['Used for'].str.contains('|'.join(tags), na=False) filtered_df = df[mask].copy() - filtered_df.drop(['Homepage', 'Used for'], axis='columns', inplace=True) + filtered_df.drop('Used for', axis='columns', inplace=True) return filtered_df diff --git a/src/sections/exploring_further/online_resources/page.md b/src/sections/exploring_further/online_resources/page.md index c08a437..b48c8cc 100644 --- a/src/sections/exploring_further/online_resources/page.md +++ b/src/sections/exploring_further/online_resources/page.md @@ -31,5 +31,5 @@ sys.path.append(str(Path.cwd().parents[2])) from helpers import DATAFRAME_ONLINE_RESOURCES, show_online_resources -show_online_resources(DATAFRAME_ONLINE_RESOURCES) +show_online_resources(DATAFRAME_ONLINE_RESOURCES, dom='lfrtip') ``` diff --git a/src/sections/starter_packs/packs/detection-and-tracking/page.md b/src/sections/starter_packs/packs/detection-and-tracking/page.md index 87bd6fd..27f54f4 100644 --- a/src/sections/starter_packs/packs/detection-and-tracking/page.md +++ b/src/sections/starter_packs/packs/detection-and-tracking/page.md @@ -35,7 +35,7 @@ from helpers import * init_notebook_mode(all_interactive=True, connected=True) df = filter_online_resources(tags) -show_online_resources(df) +show_online_resources(df, dom="tr") ``` ## 💡 Notebook case studies diff --git a/src/sections/starter_packs/packs/image-data-visualization/page.md b/src/sections/starter_packs/packs/image-data-visualization/page.md index 2413f59..85a36b0 100644 --- a/src/sections/starter_packs/packs/image-data-visualization/page.md +++ b/src/sections/starter_packs/packs/image-data-visualization/page.md @@ -35,7 +35,7 @@ from helpers import * init_notebook_mode(all_interactive=True, connected=True) df = filter_online_resources(tags) -show_online_resources(df) +show_online_resources(df, dom="tr") ``` ## 💡 Notebook case studies diff --git a/src/sections/starter_packs/packs/image-denoising/page.md b/src/sections/starter_packs/packs/image-denoising/page.md index 3e12232..25ee551 100644 --- a/src/sections/starter_packs/packs/image-denoising/page.md +++ b/src/sections/starter_packs/packs/image-denoising/page.md @@ -35,7 +35,7 @@ from helpers import * init_notebook_mode(all_interactive=True, connected=True) df = filter_online_resources(tags) -show_online_resources(df) +show_online_resources(df, dom="tr") ``` ## 💡 Notebook case studies diff --git a/src/sections/starter_packs/packs/image-registration/page.md b/src/sections/starter_packs/packs/image-registration/page.md index 533abec..ab5b683 100644 --- a/src/sections/starter_packs/packs/image-registration/page.md +++ b/src/sections/starter_packs/packs/image-registration/page.md @@ -35,7 +35,7 @@ from helpers import * init_notebook_mode(all_interactive=True, connected=True) df = filter_online_resources(tags) -show_online_resources(df) +show_online_resources(df, dom="tr") ``` ## 💡 Notebook case studies diff --git a/src/sections/starter_packs/packs/image-segmentation/page.md b/src/sections/starter_packs/packs/image-segmentation/page.md index e03fd75..7343d30 100644 --- a/src/sections/starter_packs/packs/image-segmentation/page.md +++ b/src/sections/starter_packs/packs/image-segmentation/page.md @@ -35,7 +35,7 @@ from helpers import * init_notebook_mode(all_interactive=True, connected=True) df = filter_online_resources(tags) -show_online_resources(df) +show_online_resources(df, dom="tr") ``` ## 💡 Notebook case studies diff --git a/src/sections/starter_packs/packs/performance-optimization/page.md b/src/sections/starter_packs/packs/performance-optimization/page.md index f0b3fcf..48717ae 100644 --- a/src/sections/starter_packs/packs/performance-optimization/page.md +++ b/src/sections/starter_packs/packs/performance-optimization/page.md @@ -35,7 +35,7 @@ from helpers import * init_notebook_mode(all_interactive=True, connected=True) df = filter_online_resources(tags) -show_online_resources(df) +show_online_resources(df, dom="tr") ``` ## 💡 Notebook case studies