Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
00cf123
Add files via upload
drelliche Jun 15, 2023
5a06953
file structure and .gitignore
drelliche Jun 15, 2023
efa334c
Update .gitignore
drelliche Jun 15, 2023
332a577
add instructions for running app locally
drelliche Jun 15, 2023
99d3d53
remove .pyc files
drelliche Jun 15, 2023
7cd45cc
add Dockerfile and requirements.txt
drelliche Jun 15, 2023
3366e83
Dockerfile now works!
drelliche Jun 15, 2023
11b53d0
Delete docker-compose.yml
drelliche Jun 15, 2023
25b0008
running the app in docker instructions
drelliche Jun 15, 2023
9eb8fe3
reorder README sections
drelliche Jun 26, 2023
7bce2bc
Update README.md
drelliche Jun 26, 2023
44f1413
Update Dockerfile
drelliche Jun 27, 2023
072b90e
small fixes
paytonk Jun 27, 2023
d1d762f
docker works!
drelliche Jun 27, 2023
01f1448
Update README.md
drelliche Jun 27, 2023
85cfc2b
add screenshot and more details to readme
drelliche Jun 30, 2023
aba8cba
Update README.md
drelliche Jun 30, 2023
2e73bc0
fix spelling of pre_reqs
drelliche Aug 29, 2023
0c27bfb
Update pre_reqs.py
drelliche Aug 29, 2023
3800a82
add underscores to field names
drelliche Aug 31, 2023
d268799
remove process_data.sh, now in education_modules repo
drelliche Aug 31, 2023
d95025f
Update module_data.py
drelliche Aug 31, 2023
5722367
add "minutes" to estimated length display
drelliche Aug 31, 2023
d56889b
search bar also checks author field
drelliche Aug 31, 2023
b889c97
shrink unselected nodes
drelliche Sep 1, 2023
c55a05d
create workflow for updating module_data
drelliche Sep 7, 2023
b9b07ab
Update update_module_data.yml
drelliche Sep 7, 2023
1d9611e
Update update_module_data.yml
drelliche Sep 7, 2023
24d8bb8
Update update_module_data.yml
drelliche Sep 7, 2023
adc46bb
Update update_module_data.yml
drelliche Sep 7, 2023
f1e0748
Update update_module_data.yml
drelliche Sep 7, 2023
51b9325
Update update_module_data.yml
drelliche Sep 7, 2023
448d7d3
update metadata records
actions-user Sep 7, 2023
127b76a
update metadata actions description
drelliche Sep 7, 2023
6bd9ce8
update metadata records
actions-user Sep 10, 2023
a8c3c07
add hidden_my_modules component
drelliche Sep 15, 2023
057271f
"Add to my list" button created
drelliche Sep 15, 2023
363adcc
initialize "add to my modules" buttons
drelliche Sep 15, 2023
50bb6be
add_to_my_modules button not yet working
drelliche Sep 15, 2023
17c3861
update metadata records
actions-user Sep 17, 2023
e00b2b6
implement my_modules as a dictionary
drelliche Sep 22, 2023
98c4fa9
Update my_modules_in.py
drelliche Sep 22, 2023
0cf81cf
depends on knowledge AVAILABLE in
drelliche Sep 22, 2023
414f8a0
turn off all but 3 nodes for testing
drelliche Sep 22, 2023
cadc553
update metadata records
actions-user Sep 24, 2023
aee521a
add_to_my_modules buttons exists and appear correctly
drelliche Sep 26, 2023
b96c902
buttons now update my_modules dictionary!
drelliche Sep 26, 2023
452bd5c
"add all to my list" button
drelliche Sep 27, 2023
1547e89
Update my_modules_in.py
drelliche Sep 27, 2023
a0b0038
create "remove_my_modules" buttons
drelliche Sep 27, 2023
bebba13
hide button initializations
drelliche Sep 27, 2023
79d1a43
create my_modules_list visible to users
drelliche Sep 27, 2023
9a3eca1
Update my_modules_callbacks.py
drelliche Sep 27, 2023
d6af764
clean up buttons to add and remove my_modules
drelliche Sep 27, 2023
49d2ab6
create edges from depends on/sets you up links
drelliche Sep 29, 2023
03dd3ec
clean up for merging
drelliche Sep 29, 2023
4530dfe
Update module_data.py
drelliche Sep 29, 2023
21c4a41
resolve conflicts
drelliche Sep 29, 2023
2f874da
Merge pull request #1 from arcus/my_modules_panel
drelliche Sep 29, 2023
2a05112
EHR value to lowercase
drelliche Sep 29, 2023
6e2a35f
SQL to lowercase
drelliche Sep 29, 2023
c6f7617
exercise is module type, not coding level
drelliche Sep 29, 2023
cc7b039
update metadata records
actions-user Oct 1, 2023
04135ab
add text as data domain option
drelliche Oct 2, 2023
beef96a
Add hands on exercise to general_options
drelliche Oct 2, 2023
daa282c
add clear all selections button
drelliche Oct 2, 2023
f3b9f55
Update README.md
drelliche Oct 2, 2023
269fbbe
add "remove all from my list" button
drelliche Oct 2, 2023
478ad88
add "collection" as a filtering option
drelliche Oct 3, 2023
4c8754a
Make center panel into accordion
drelliche Oct 3, 2023
02b9160
Clean up accordion contents
drelliche Oct 3, 2023
a6d2dc3
Create hidden pathway ordered list
drelliche Oct 4, 2023
b4b29ef
Add pathway total time
drelliche Oct 4, 2023
7ac6256
give up/down buttons ids
drelliche Oct 4, 2023
061f75c
small style changes
drelliche Oct 4, 2023
63da3fb
Initialize _move_up and _go_down buttons
drelliche Oct 4, 2023
5161614
Update pathway_in.py
drelliche Oct 4, 2023
bfd3491
make buttons unicode symbols
drelliche Oct 4, 2023
fde1f05
Update my_modules_callbacks.py
drelliche Oct 5, 2023
4c19ae5
update metadata records
actions-user Oct 8, 2023
750de88
update metadata records
actions-user Oct 15, 2023
1093615
Create stopgap "copyable markdown" version of my_modules
drelliche Oct 16, 2023
b32ae44
turn off unused my_modules_in callbacks
drelliche Oct 20, 2023
c9b1b99
Working up and down buttons
drelliche Oct 20, 2023
c712ddf
tell users about up/down buttons
drelliche Oct 20, 2023
1f381b9
keep same active node when other buttons move
drelliche Oct 20, 2023
8ef7475
remove hidden_my_modules
drelliche Oct 20, 2023
74285fd
clean away unused hidden_my_modules
drelliche Oct 20, 2023
56b452f
proof of concept sorting button
drelliche Oct 20, 2023
75a9505
Update pathway_in.py
drelliche Oct 20, 2023
ed00a97
Update README.md
drelliche Oct 20, 2023
f045933
update metadata records
actions-user Oct 22, 2023
42cc384
sort button alphabetizes modules
drelliche Oct 23, 2023
63eaed1
Merge pull request #4 from arcus/reorder_my_modules
drelliche Oct 23, 2023
d38e02d
Create CHOP_RI_logo.svg
drelliche Oct 23, 2023
5510d74
add research institute logo
drelliche Oct 23, 2023
3ed38ec
Add accessibility notes to readme
drelliche Oct 24, 2023
4d5228d
Update README.md
drelliche Oct 24, 2023
2b604b6
add feedback button and link to REDCap survey
drelliche Oct 25, 2023
4d67349
update metadata records
actions-user Oct 29, 2023
23a78c8
wrap node labels in graph visualization
drelliche Oct 30, 2023
d57f591
recolor feedback button for emphasis
drelliche Oct 30, 2023
93fb3f7
improve "save this pathway" button
drelliche Oct 30, 2023
b314ef2
shrink text size
drelliche Oct 30, 2023
657b4e2
Delete LICENSE
drelliche Oct 30, 2023
ea81f58
make banner title responsive
drelliche Nov 3, 2023
da96028
left hand nav and center accordion responsiveness
drelliche Nov 3, 2023
9203e87
clean up graph panel for responsiveness
drelliche Nov 3, 2023
aba63d2
responsive add to and remove buttons
drelliche Nov 3, 2023
7f509c6
polish instructions
drelliche Nov 3, 2023
46af399
Delete LICENSE
drelliche Nov 6, 2023
ee01399
fix typo
drelliche Nov 6, 2023
6317bd2
Merge pull request #10 from arcus/responsive_alpha
drelliche Nov 6, 2023
b5b8394
update metadata records
actions-user Nov 19, 2023
42f298a
update metadata records
actions-user Nov 26, 2023
da9c883
update metadata records
actions-user Dec 3, 2023
4761b1f
Create education_modules.csv
drelliche Dec 5, 2023
341a33a
update workflow to write csv instead of .py
drelliche Dec 5, 2023
106fc9e
update metadata records
actions-user Dec 5, 2023
53f632a
upload csv rather than py
drelliche Dec 5, 2023
a404a1a
Merge branch 'main' of https://github.com/arcus/module_discovery
drelliche Dec 5, 2023
2f64b03
update metadata records
actions-user Dec 5, 2023
483a606
Merge pull request #11 from arcus/public_alpha_version
drelliche Dec 5, 2023
c4a97e6
make module_data.py pull from json file
drelliche Dec 7, 2023
4fba22b
action now pull json metadata instead of csv
drelliche Dec 7, 2023
dc698dd
Update update_module_data.yml
drelliche Dec 7, 2023
ec0c857
update metadata records
actions-user Dec 7, 2023
b0ae253
handle estimated time in minutes as 2 digit string
drelliche Dec 7, 2023
1f472b5
Update module_data.py
drelliche Dec 8, 2023
11d1608
add README to individual components
drelliche Dec 8, 2023
de77f3c
remove unused heading_tabs component
drelliche Dec 8, 2023
911a43a
add README to components
drelliche Dec 8, 2023
0998fe8
Create README.md
drelliche Dec 8, 2023
c7a83de
Start networkx processing
drelliche Dec 14, 2023
699e7c9
bring networkx graph into cytoscape
drelliche Dec 14, 2023
2170f10
start pathway visualization panel
drelliche Dec 15, 2023
8734efb
testing pathway visualization in callbacks
drelliche Dec 15, 2023
85e2415
visualize pathway subgraph
drelliche Dec 21, 2023
44c00b3
connect sort button to the poset relationships
drelliche Dec 21, 2023
4472d71
add pathway edges to pathway display
drelliche Dec 21, 2023
35ecc8b
update active node from pathway_visualization
drelliche Dec 21, 2023
547a148
Delete pathway_subgraph.py
drelliche Dec 21, 2023
fb8b934
Update README.md
drelliche Dec 21, 2023
16d2f6b
Update pathway_visualization.py
drelliche Dec 21, 2023
bd666f5
create active_module_visualization
drelliche Dec 22, 2023
80d6fc3
add networkx to requirements
drelliche Dec 22, 2023
ba32510
remove unused matplotlib
drelliche Dec 22, 2023
18c924e
Create README.md
drelliche Dec 22, 2023
229656f
Update README.md
drelliche Dec 22, 2023
840aaae
clean up and leave notes for later
drelliche Dec 22, 2023
9b5cdc2
clean up extra imports in app.py
drelliche Dec 25, 2023
a19b446
create stylesheets folder to hold all stylesheets
drelliche Dec 25, 2023
7741975
Create RI_logo.png
drelliche Dec 25, 2023
e24a5f0
rename "filter_modules" to "search_results"
drelliche Dec 25, 2023
17bc693
Update README.md
drelliche Dec 25, 2023
e5f067a
create search_results_visualization
drelliche Dec 25, 2023
1ddf482
rename visualization_panels for clarity
drelliche Dec 25, 2023
8879f86
rename to combined_visualization_out
drelliche Dec 25, 2023
5eb40b7
Create README.md
drelliche Dec 25, 2023
983a436
Update README.md
drelliche Dec 25, 2023
0c55f6e
update readme for module_data.py
drelliche Dec 25, 2023
ee6d6d5
create pathway stylesheet
drelliche Dec 25, 2023
41bc774
begin mixing stylesheets together
drelliche Dec 25, 2023
99ff3a7
active module visualization
drelliche Dec 26, 2023
eb75681
Get node position from combined visualization
drelliche Dec 29, 2023
7075494
color code pathway edges by network order
drelliche Dec 29, 2023
ab33820
show pathway quality in visualization
drelliche Dec 29, 2023
a88917d
update readmes
drelliche Jan 2, 2024
3f8457d
update stylesheets
drelliche Jan 2, 2024
1123cfa
Update README.md
drelliche Jan 2, 2024
5f5434d
rename callbacks in/out -> update/render
drelliche Jan 3, 2024
636c518
Update README.md
drelliche Jan 3, 2024
7c65cb7
Update README.md
drelliche Jan 3, 2024
ad267cf
color pathway borders by order quality
drelliche Jan 4, 2024
ea40c89
Update my_modules_callbacks.py
drelliche Jan 4, 2024
54a6db3
Create pathway_order_relations.py
drelliche Jan 4, 2024
3958fb4
start using pathway_order_relations
drelliche Jan 4, 2024
e76510f
color code pathway. modules on the my modules panel
drelliche Jan 4, 2024
99d5949
add neutral pathway edge styling
drelliche Jan 4, 2024
22c6c6d
update layout and add comments
drelliche Jan 23, 2024
d7ee0cc
Update app.py
drelliche Jan 23, 2024
99712f7
hover over messages for pathway order
drelliche Jan 24, 2024
8ee8bfa
show "offending" modules in popover text
drelliche Jan 24, 2024
2883c4d
Update README.md
drelliche Jan 24, 2024
fac2b6c
move all visualization to tabs in visualization panel
drelliche Jan 24, 2024
5ef3018
Update app.py
drelliche Jan 24, 2024
171349c
make info buttons trigger on hover, not click
drelliche Feb 8, 2024
7bf75fe
remove "okay" popovers from pathway
drelliche Feb 8, 2024
e4f6b4b
Update app.py
drelliche Feb 8, 2024
7b54022
clean up buttons, add x for trash
drelliche Feb 14, 2024
3ea5305
improve use of general_pathway_buttons
drelliche Feb 14, 2024
c75a969
turn on trash buttons
drelliche Feb 14, 2024
a62c5ab
make search results scrollable
drelliche Feb 14, 2024
a305318
create buttons for premade pathways
drelliche Feb 15, 2024
211cb88
small tweaks
drelliche Feb 15, 2024
13e65d2
Update pre_made_pathways.py
drelliche Feb 15, 2024
a31c223
update pathways for new metadata
drelliche Feb 15, 2024
7684840
Update hidden_active_module.py
drelliche Feb 16, 2024
8d02013
Clean up starting behavior
drelliche Feb 16, 2024
0f1b217
create mini_graph as a semi-hidden element
drelliche Feb 21, 2024
359f174
create about page and button
drelliche Feb 22, 2024
85dd258
link to about.md page
drelliche Feb 22, 2024
78b54ee
creat "no matches" message
drelliche Feb 22, 2024
093ec7b
move save this pathway button up
drelliche Feb 22, 2024
40e20b5
orient focus on one module left to right
drelliche Feb 22, 2024
f4b66df
Move active node visualization below module details, remove broken bu…
drelliche Feb 23, 2024
868fcf2
make only one visualization of all modules
drelliche Feb 23, 2024
afa46d9
Make checkbutton for users to modify the visualization
drelliche Feb 23, 2024
bbd7772
user options for graph display
drelliche Feb 26, 2024
aa518ec
move active module viz to under main graph
drelliche Feb 26, 2024
fdf1a54
Update about.md
drelliche Feb 26, 2024
c646b4a
update about link
drelliche Feb 26, 2024
1726e73
change title to DENT
drelliche Apr 12, 2024
d60e09e
update data with new modules
drelliche Apr 12, 2024
07e0357
create required_expertise_times metric
drelliche May 16, 2024
647deef
Update required_expertise_times.py
drelliche May 16, 2024
4b24f39
create exploratory_graph to see expertise levels
drelliche May 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .github/workflows/update_module_data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# This workflow updates the data in module_data.py once a week.
# It can also be run manually if significant changes to metadata have been made.

name: Update metadata from education_modules repository

on:
schedule:
- cron: '17 3 * * 0'

workflow_dispatch:

jobs:
check_for_changes:
name: Check if the module_data has changed
runs-on: ubuntu-latest
outputs:
changes: ${{ steps.check_if_changed.outputs.changes }}
steps:
- name: Compare module_data files
id: check_if_changed
run: |
wget https://raw.githubusercontent.com/arcus/education_modules/metadata_workflow/assets/metadata/module_data.json -O education_modules_file.json

wget https://raw.githubusercontent.com/arcus/module_discovery/main/assets/education_modules.json -O module_discovery_file.json

changes=$(diff education_modules_file.json module_discovery_file.json | wc -l)

echo "changes=$changes" >> "$GITHUB_OUTPUT"

echo $changes



update_module_data:
name: Update module_data.json
runs-on: ubuntu-latest
needs: check_for_changes
if: needs.check_for_changes.outputs.changes != 0
steps:
- uses: actions/checkout@v3
- name: Download module_data.json from education_modules
run: |
wget https://raw.githubusercontent.com/arcus/education_modules/metadata_workflow/assets/metadata/module_data.json -O assets/education_modules.json
wc assets/education_modules.json
- name: Commit
run: |
git status

git config --local user.name actions-user

git config --local user.email "[email protected]"

git fetch

git add assets/education_modules.json

git commit -am "update metadata records"

git push origin main
190 changes: 190 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
.DS_Store
*/.DS_Store

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
**/.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# History files
.Rhistory
.Rapp.history

# Session Data files
.RData

# User-specific files
.Ruserdata

# Example code in package build process
*-Ex.R

# Output files from R CMD build
/*.tar.gz

# Output files from R CMD check
/*.Rcheck/

# RStudio files
.Rproj.user/

# produced vignettes
vignettes/*.html
vignettes/*.pdf

# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
.httr-oauth

# knitr and R markdown default cache directories
*_cache/
/cache/

# Temporary files created by R markdown
*.utf8.md
*.knit.md

# R Environment Variables
.Renviron

# pkgdown site
docs/

# translation temp files
po/*~
© 2021 GitHub, Inc.
Terms
Privacy
Security
Status
Docs
Contact GitHub
Pricing
API
Training
Blog
About
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM python:3.9-slim-buster

ENV DASH_DEBUG_MODE False
COPY . /app
WORKDIR /app
COPY requirements.txt /
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
EXPOSE 8050
CMD gunicorn -b 0.0.0.0:8050 --reload app:server
121 changes: 0 additions & 121 deletions LICENSE

This file was deleted.

Loading