Skip to content

Commit

Permalink
Fix software tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Mallory Wittwer committed Jan 12, 2024
1 parent 0bba212 commit f21af82
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/helpers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
style="width:100%;margin:auto",
paging=False,
showIndex=False,
dom="tr"
)

show_notebook_case_studies = partial(
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/sections/exploring_further/online_resources/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -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')
```
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/sections/starter_packs/packs/image-denoising/page.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f21af82

Please sign in to comment.