Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
98b95a2
Create new branch!
dominiquesydow Dec 28, 2022
6b401f3
Merge branch 'base-ci-env-fix' into t019-fix-ligand-template
dominiquesydow Dec 29, 2022
aab586c
T019: Remove simtk from docstrings [skip ci]
dominiquesydow Dec 29, 2022
0ec6ee4
Merge branch 'base-ci-env-fix' into t019-fix-ligand-template
dominiquesydow Dec 30, 2022
6fa544b
CI: Run only T019 (tmp)
dominiquesydow Dec 30, 2022
0e49e24
Merge branch 'base-ci-env-fix' into t019-fix-ligand-template
dominiquesydow Dec 31, 2022
520e4fd
update to using fingerprint generator
greglandrum Apr 19, 2023
c0fca45
replace deprecated Series.append
mbackenkoehler Apr 25, 2023
589733d
try re-running T004 to reset output
mbackenkoehler Apr 25, 2023
58902da
re-run more talktorials (7,10,11,14,21,23,24,25,26,27)
mbackenkoehler Apr 25, 2023
c7a5f6f
re-run T022
mbackenkoehler Apr 25, 2023
e4e3591
re-run T018
mbackenkoehler Apr 25, 2023
e671922
switch to linkinator
mbackenkoehler Apr 26, 2023
8441fea
no reason to exclude localhost:8000
mbackenkoehler Apr 26, 2023
0e6f191
tweak linkinator args
mbackenkoehler Apr 26, 2023
36bb288
add new email address
hamzaibrahim21 Apr 27, 2023
7a72203
fix dead links
hamzaibrahim21 Apr 28, 2023
ba8a4c8
Ignore mp4 files
hamzaibrahim21 Apr 30, 2023
2eecfe9
Merge pull request #344 from volkamerlab/master
mbackenkoehler Apr 30, 2023
08aeda9
Merge pull request #331 from volkamerlab/328-update-notebooks-to-pand…
mbackenkoehler Apr 30, 2023
7efbbd7
Merge pull request #332 from volkamerlab/329-ci-new-pandas-formatting
mbackenkoehler Apr 30, 2023
e788c5d
Merge pull request #335 from volkamerlab/333-docs-ci-fails
mbackenkoehler Apr 30, 2023
5c92db5
predictable output for 3.9 compat; solve deprecation warn in kmeans
mbackenkoehler Apr 30, 2023
8960585
restore some ngl images; remove some warnings
mbackenkoehler Apr 30, 2023
d81ccf0
T018: remove some warnings
mbackenkoehler Apr 30, 2023
3bf72cf
do not pass height argument to NGLView
mbackenkoehler May 2, 2023
38709b2
fix broken links
hamzaibrahim21 May 4, 2023
c14ec73
Start branch
hamzaibrahim21 May 4, 2023
9829654
Start branch
hamzaibrahim21 May 4, 2023
0cb803a
switch to fp generator
hamzaibrahim21 May 4, 2023
ee3554d
Merge branch 'dev' into fix-dead-links
mbackenkoehler May 5, 2023
5f8123c
Merge pull request #341 from volkamerlab/fix-dead-links
mbackenkoehler May 5, 2023
d575922
re-generate readmes
mbackenkoehler May 5, 2023
db2485f
change order of imports to suppress warning
AAriam May 6, 2023
69fc5a2
fix bug in PDB file download
AAriam May 6, 2023
4863a43
fix RDKit render issue in Pandas DataFrames
AAriam May 6, 2023
06c5627
fixing `ipywidgets` deprecation warning encountered in cells 53, 55, …
AAriam May 7, 2023
7592f5c
suppress warning encountered in cells 33, 41, 63
AAriam May 7, 2023
5be358d
Add 07 and 22 only
hamzaibrahim21 May 11, 2023
ece48b5
Revert "Add 07 and 22 only"
hamzaibrahim21 May 11, 2023
62bdf97
add 07 and 22 only
hamzaibrahim21 May 11, 2023
9c381fe
merge dev to switch-to-fp
hamzaibrahim21 May 11, 2023
380d55a
Merge pull request #350 from Armin-Ariamajd/334-t018-deprecation-warn…
mbackenkoehler May 15, 2023
24576f9
Merge pull request #347 from volkamerlab/334-t018-deprecation-warning…
mbackenkoehler May 15, 2023
bd3b291
re-run T001
mbackenkoehler May 15, 2023
50feecf
re-run T002
mbackenkoehler May 15, 2023
ee082c6
re-run T003
mbackenkoehler May 15, 2023
e659bac
re-run T004
mbackenkoehler May 15, 2023
da69404
re-run T005
mbackenkoehler May 15, 2023
660eca7
re-run T006
mbackenkoehler May 15, 2023
ed350ce
re-run T007
mbackenkoehler May 15, 2023
71145f4
re-execute T008; solves #303
mbackenkoehler May 15, 2023
aebdcb3
re-run T009
mbackenkoehler May 15, 2023
0ca62a6
re-run T010
mbackenkoehler May 15, 2023
b286161
re-run T011
mbackenkoehler May 15, 2023
ef51e82
re-run T012
mbackenkoehler May 15, 2023
84ef9f2
re-run T013
mbackenkoehler May 15, 2023
38f01f2
re-run T014
mbackenkoehler May 15, 2023
bc33dc2
re-run T015
mbackenkoehler May 15, 2023
d2d52cf
re-run T016
mbackenkoehler May 15, 2023
3a22b53
re-run T017
mbackenkoehler May 15, 2023
ed373c1
re-run T020
mbackenkoehler May 15, 2023
d1c0fdc
re-run T021
mbackenkoehler May 15, 2023
9e09606
re-run T022
mbackenkoehler May 15, 2023
14c73cd
re-run T023
mbackenkoehler May 15, 2023
e25093d
re-run T018
mbackenkoehler May 15, 2023
214d659
Reset T004
hamzaibrahim21 May 15, 2023
8c788fa
Merge branch 'switch-fp-generator' into dev/switch_to_fpgenerators
dominiquesydow May 15, 2023
6cd3519
Merge pull request #330 from greglandrum/dev/switch_to_fpgenerators
dominiquesydow May 15, 2023
07cc9b7
Merge branch 'dev' into switch-fp-generator
dominiquesydow May 15, 2023
db84ea1
Merge branch 'dev' into switch-fp-generator
dominiquesydow May 15, 2023
ddd06ef
re-run T024
mbackenkoehler May 16, 2023
9480b8a
re-run T025
mbackenkoehler May 16, 2023
8f64063
re-run T026
mbackenkoehler May 16, 2023
7a27a26
re-run T027
mbackenkoehler May 16, 2023
1192cc2
re-run T028
mbackenkoehler May 16, 2023
01057e2
black 7, 11, 19, 22, 17
mbackenkoehler May 16, 2023
06421c1
Merge pull request #348 from volkamerlab/switch-fp-generator
mbackenkoehler May 16, 2023
fb533ed
re-run T004
mbackenkoehler May 16, 2023
66d6cb9
Merge branch 'dev' into 354-re-execute-all-notebooks-with-the-updated…
mbackenkoehler May 16, 2023
1133b58
Merge pull request #355 from volkamerlab/354-re-execute-all-notebooks…
mbackenkoehler May 16, 2023
eca97c2
T008: update readme
mbackenkoehler May 16, 2023
ac7e48a
tryig to make link checker more robust
mbackenkoehler May 16, 2023
d3c62e0
fix fp bug
hamzaibrahim21 May 16, 2023
50233db
Revert "fix fp bug"
hamzaibrahim21 May 16, 2023
659a944
fix fp bug
hamzaibrahim21 May 16, 2023
2dcbc10
Merge branch 'dev' into 360-dev-branch-t007-does-not-execute
mbackenkoehler May 17, 2023
7d8aa89
Merge pull request #361 from volkamerlab/360-dev-branch-t007-does-not…
mbackenkoehler May 17, 2023
6d26d41
T007: fix merge bug
mbackenkoehler May 17, 2023
0b37c68
T007: dummy commit
mbackenkoehler May 17, 2023
1460635
home directories -> ~
mbackenkoehler May 19, 2023
0370208
CI: try caching for mamba
mbackenkoehler May 22, 2023
51385a6
T001: re-run
mbackenkoehler May 22, 2023
fee0a9b
Merge remote-tracking branch 'refs/remotes/origin/dev' into dev
mbackenkoehler May 22, 2023
40584af
Revert "CI: try caching for mamba"
mbackenkoehler May 22, 2023
c6bf5b5
T019: incorporate Davids fix in #308
mbackenkoehler May 22, 2023
4ec048e
CI: reactivate test for all notebooks
mbackenkoehler May 22, 2023
b9ea2d9
Merge pull request #308 from volkamerlab/t019-fix-ligand-template
mbackenkoehler May 22, 2023
afd1e43
T019: black
mbackenkoehler May 22, 2023
dcd3ba1
CI: update checkout and setup-pyhon actions
mbackenkoehler May 22, 2023
f1e2442
T019: split cell to avoid warning in output check
mbackenkoehler May 22, 2023
0a38766
CI: cleanup temp files
mbackenkoehler May 22, 2023
e2b2e44
T019: black
mbackenkoehler May 22, 2023
b97bd83
CI: Exclude T019 under Windows from CI
dominiquesydow May 22, 2023
2f6a5e0
CI: Add "dev" branch to PR CI
dominiquesydow May 22, 2023
9515565
T020: fix deprecation warnings
dominiquesydow May 22, 2023
e356267
T020: add xtc offset files (add lock, update npz)
dominiquesydow May 22, 2023
c8b39d2
CI: add tmp branch to CI
dominiquesydow May 22, 2023
f2878ee
T020: remove xtc offset files
dominiquesydow May 22, 2023
eb45383
CI: tmp run only T020
dominiquesydow May 22, 2023
456b81a
CI: run full CI again
dominiquesydow May 22, 2023
d925e25
Merge pull request #363 from volkamerlab/t020-update-deprecated-code-…
mbackenkoehler May 23, 2023
2cb64f9
Merge pull request #362 from volkamerlab/t019-exclude-windows-from-ci
mbackenkoehler May 23, 2023
6fc30ab
T018: re-run
mbackenkoehler May 23, 2023
e3cedf0
CI: ignore T020 under mac; minor refactoring
mbackenkoehler May 24, 2023
55a1c58
CI: temporary change! activate CI for feature branch
mbackenkoehler May 24, 2023
72f8a09
CI: Test ignoring T019 under macOS
mbackenkoehler May 24, 2023
a3cf33c
Merge pull request #365 from volkamerlab/364-t020-not-working-under-m…
mbackenkoehler May 24, 2023
0bf84aa
CI: remove temporary hook
mbackenkoehler May 24, 2023
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
29 changes: 16 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:
branches:
- "master"
- "base-ci-env-fix"
- "dev"
schedule:
# Run a cron job once weekly on Monday
- cron: "0 3 * * 1"
Expand Down Expand Up @@ -73,25 +73,28 @@ jobs:
run: |
PYTEST_ARGS="--nbval-lax --current-env --dist loadscope --numprocesses 2"

# Ignore T019 under Windows, see https://github.com/volkamerlab/teachopencadd/issues/313
PYTEST_IGNORE_T019="--ignore=teachopencadd/talktorials/T019_md_simulation/talktorial.ipynb"
PYTEST_IGNORE_T020="--ignore=teachopencadd/talktorials/T020_md_analysis/talktorial.ipynb"

# Temporarily ignored notebooks, see https://github.com/volkamerlab/teachopencadd/issues/303
PYTEST_IGNORE_T008="--ignore=teachopencadd/talktorials/T008_query_pdb/talktorial.ipynb"
IGNORE=""

if [ "$RUNNER_OS" != "Windows" ]; then
# Temporarily ignore T019
pytest $PYTEST_ARGS teachopencadd/talktorials/ $PYTEST_IGNORE_T008 $PYTEST_IGNORE_T019
else
pytest $PYTEST_ARGS teachopencadd/talktorials/ $PYTEST_IGNORE_T008 $PYTEST_IGNORE_T019
if [ "$RUNNER_OS" == "Windows" ]; then
# Ignore T019 under Windows, see https://github.com/volkamerlab/teachopencadd/issues/313
IGNORE="$IGNORE $PYTEST_IGNORE_T019"
fi

if [ "$RUNNER_OS" == "macOS" ]; then
IGNORE="$IGNORE $PYTEST_IGNORE_T019"
fi

pytest $PYTEST_ARGS teachopencadd/talktorials/ $IGNORE

format:
name: Black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install format dependencies
run: python -m pip install black-nb shyaml
- name: Run black-nb
Expand All @@ -102,8 +105,8 @@ jobs:
name: READMEs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install nbformat
run: python -m pip install nbformat shyaml
- name: Check READMEs are up-to-date
Expand Down
32 changes: 18 additions & 14 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,24 @@ jobs:
shell: bash -l {0}
run: |
cd docs/_build/html
python -m http.server > /dev/null &2>1&
npx broken-link-checker http://localhost:8000/ --ordered --recursive \
--exclude "*.txt" \
--exclude "https://onlinelibrary.wiley.com/doi/full/10.1002/cmdc.200700139" \
--exclude "https://onlinelibrary.wiley.com/doi/10.1002/9783527806539.*" \
--exclude "https://towardsdatascience.com" \
--exclude "https://medium.com" \
--exclude "https://*.medium.com" \
--exclude "http[s]://quora.com" \
--exclude "http[s]://doi.org" \
--exclude "ftp://*" \
--exclude "http://localhost:8000" \
--exclude "https://pubs.acs.org/doi/10.1021/acs.jcim.9b00662" \
--exclude "https://pubs.acs.org/doi/abs/10.1021/bk-2021-1387.ch010"
npx linkinator . --verbosity error --recurse -r --retry-errors-jitter --timeout 10000 \
-s "/*.txt" \
-s "https://onlinelibrary.wiley.com/doi/full/10.1002/cmdc.200700139" \
-s "https://onlinelibrary.wiley.com/doi/10.1002/9783527806539.*" \
-s "https://towardsdatascience.com" \
-s "https://medium.com" \
-s "https://*.medium.com" \
-s "http[s]://quora.com" \
-s "http[s]://doi.org/*" \
-s "http[s]://pubs.acs.org/*" \
-s "ftp://*" \
-s "https://machinelearningmastery.com/*" \
-s "https://www.schrodinger.com/training/videos/*" \
-s "/*.mp4" \
-s "/*.pdf" \
-s "/*.png" \
-s "https://www.icoa.fr/pkidb/index.html" \


- name: Check 404s (README)
uses: gaurav-nelson/github-action-markdown-link-check@v1
Expand Down
2 changes: 1 addition & 1 deletion devtools/test_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies:
- pypdb
- biopython<=1.77
- biopandas
- rdkit==2021.09.5
- rdkit
- openbabel
- opencadd
- biotite>=0.34.0
Expand Down
3 changes: 2 additions & 1 deletion docs/contact.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Please contact us if you have questions or suggestions!

- If you have questions regarding our Jupyter Notebooks, please `open an issue <https://github.com/volkamerlab/teachopencadd/issues>`_ on our GitHub repository.
- If you have ideas for new topics, please fill out our `questionnaire <http://contribute.volkamerlab.org>`_.
- If you have any further inquiries, please send us an `email <[email protected]>`_.

We are looking forward to hearing from you!
We are looking forward to hearing from you!
2 changes: 1 addition & 1 deletion docs/external_dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Python packages
- ``openbabel``: https://openbabel.org/
- ``mdanalysis``: https://www.mdanalysis.org/
- ``biopython``: https://biopython.org/
- ``biopandas``: http://rasbt.github.io/biopandas/
- ``biopandas``: https://biopandas.github.io/biopandas/
- ``opencadd``: https://opencadd.readthedocs.io/en/latest/
- ``plip``: https://github.com/pharmai/plip
- ``openff``: https://github.com/openforcefield/openff-toolkit
Expand Down
4 changes: 2 additions & 2 deletions docs/external_tutorials_collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Python programming
The TeachOpenCADD platform is not a Python programming course from scratch but teaches how to solve tasks in cheminformatics and structural bioinformatics programmatically.
If you wish to get started first with a Python programming introduction before diving into the TeachOpenCADD material, here are a few great resources to do so:

- `AI in Medicine course <https://github.com/volkamerlab/ai_in_medicine>`_ by the `Volkamer Lab <https://volkamerlab.org/>`_ and `Ritter Lab <https://psychiatrie-psychotherapie.charite.de/metas/person/person/address_detail/ritter-7/>`_ at the Charité: Introduction to Python basics, Jupyter Notebook, and important data science packages such as ``pandas``, ``matplotlib``, and ``scikit-learn``
- `Python for Chemists course <https://github.com/GDChCICTeam/python-for-chemists>`_ by the `GDCh/CIC <https://en.gdch.de/network-structures/divisions/computers-in-chemistry-cic.html>`_ team: Crash-course introduction to Python for natural scientists
- `AI in Medicine course <https://github.com/volkamerlab/ai_in_medicine>`_ by the `Volkamer Lab <https://volkamerlab.org/>`_ and `Ritter Lab <https://psychiatrie-psychotherapie.charite.de/metas/person/person/address_detail/prof_dr_rer_nat_kerstin_ritter/>`_ at the Charité: Introduction to Python basics, Jupyter Notebook, and important data science packages such as ``pandas``, ``matplotlib``, and ``scikit-learn``
- `Python for Chemists course <https://github.com/GDChCICTeam/python-for-chemists>`_ by the `GDCh/CIC <https://en.gdch.de/network-structures/gdch-structures/computers-in-chemistry-cic.html>`_ team: Crash-course introduction to Python for natural scientists
- `MolSSI Education Resources <http://education.molssi.org/resources.html>`_ by `The Molecular Sciences Software Institute <https://molssi.org/>`_: Collection of tutorials on Python programming basics and data analysis but also more advanced material on software development and computational molecular science
- `Core lessons <https://software-carpentry.org/lessons/>`_ by the `Software Carpentry <https://software-carpentry.org/>`_: Introduction to Python, Git, command line interfaces and more
- `Best practices for Python, Git and Jupyter <https://zenodo.org/record/4630714>`_, a slide deck used in the introduction of our CADD Block course 2021, part of the Master's degree in Bioinformatics curriculum at the Freie Universität (FU) Berlin.
Expand Down
Loading