Skip to content

PyMOL workshop and installation updates#114

Merged
lyskov merged 11 commits intomasterfrom
rac_edits
Feb 27, 2026
Merged

PyMOL workshop and installation updates#114
lyskov merged 11 commits intomasterfrom
rac_edits

Conversation

@rclune
Copy link
Copy Markdown
Member

@rclune rclune commented Feb 6, 2026

In this PR I...

  1. Transferred the PyMOL workshop PDF to a Markdown file int he notebooks directory. I will add it to the TOC and/or make a new page for it on the PyRosetta website in the future.
  2. Edited notebook 1.00 to include the mirror option and 1.01 to point to the quarterly releases instead of having users download wheels
  3. Minor edit to notebook 3.02, there was a typo raised in Issue 113

@rclune rclune requested a review from lyskov February 6, 2026 23:14
Changed the `pyrosettacolabsetup` command in at the beginning of the notebooks to include the `cache_wheel_on_google_drive=False, serialization=False, mirror=0` options.

Added back in the instructions for how to install a specific PyRosetta wheel in notebook 1.01.
Copy link
Copy Markdown
Member

@lyskov lyskov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT, - thank you for taking care of this @rclune ! Please see minor comment below. One more thing before we can merge this is that we need to update the student version of notebooks. Could you please run https://github.com/RosettaCommons/PyRosetta.notebooks/blob/master/make-student-nb.bash locally and commit the changes? (script should generate students version automatically, might be a good idea to do so inside Docker Python container)

Thanks,

"1) Go to https://els.comotion.uw.edu/licenses/88 and fill out the form for a free academic license for PyRosetta\n",
"\n",
"2) Download PyRosetta correct PyRosetta-wheel (ie version that match your operation system and Python version) from https://www.pyrosetta.org/downloads and use your terminal to execute `pip install <downloaded-wheel>` ((you may need to add sudo before the `pip` part if your computer says you don’t have permission)\n",
"2) Download the latest quarterly release of PyRosetta via \n",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wording here might be slightly off. Perhaps:
“Install the latest quarterly PyRosetta release by pointing pip to the wheel archive directory.”

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed!

"source": [
"!pip install pyrosettacolabsetup\n",
"import pyrosettacolabsetup; pyrosettacolabsetup.install_pyrosetta()\n",
"import pyrosettacolabsetup; pyrosettacolabsetup.install_pyrosetta(cache_wheel_on_google_drive=False, serialization=False, mirror=0)\n",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

"Analyze the energy between residues Y102 and Q408 in cetuximab (PDB code 1YY9, use the `pyrosetta.toolbox.pose_from_rcsb` function to download it and load it into a new `Pose` object) by following the steps below. \n",
"\n",
"A. Internally, a Pose object has a list of residues, numbered starting from 1. To find the residue numbers of Y102 of chain D and Q408 of chain A, use the residue chain identifier and the PDB residue number to convert to the pose numbering using the `pose2pdb()` method:\n",
"A. Internally, a Pose object has a list of residues, numbered starting from 1. To find the residue numbers of Y102 of chain D and Q408 of chain A, use the residue chain identifier and the PDB residue number to convert to the pose numbering using the `pdb2pose()` method:\n",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rclune
Copy link
Copy Markdown
Member Author

rclune commented Feb 12, 2026

@lyskov I ran the script to create the student notebooks and updated the wording in notebook 01.01.

colabxterm was causing issues with running the notebooks on the testing server, this change should fix it.

PR link: [#619](RosettaCommons/rosetta#619 (review))
@rclune rclune requested a review from lyskov February 23, 2026 23:00
Copy link
Copy Markdown
Member

@lyskov lyskov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, - thank you @rclune !

@lyskov lyskov merged commit 97c76ec into master Feb 27, 2026
@lyskov lyskov deleted the rac_edits branch February 27, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants