Skip to content

PyMOL Python snippet library to edit live Jupyter notebook cells with Sublime Text 3 using GhostText

License

Notifications You must be signed in to change notification settings

MooersLab/jupyter-st3-pymolpysnips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

Version License: MIT

jupyter-st3-pymolpysnips

Purpose

A PyMOL Python snippet library to edit live Jupyter notebook cells with Sublime Text 3 using browser plugin GhostText and the Ghost Text plugin for Sublime Text 3. The later plugin links a server in Sublime Text 3 with any text area in the web browser including jupyter notebooks. This snippet library includes snippets for loading PyMOL's Python API into an active Jupyter notebook.

Installing and using snippets with Sublime Text 3

The snippets are stored in separate files with the extension .sublime-snippet.

To install the snippets via the Sublime Text's GUI (Mac, Windows, Linux), go to Preferences→Browse Packages...→User→snippets, you may need to create the subdirectory called snippets. Copy and paste the folder st3pymolpysnips into the snippets folder.

To install the snippets on the command line on macOS, create the snippets directory in the Sublime Text 3 folder:

mkdir ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/snippets/

Move the st3pymolpysnips folder into the snippets folder.

mv st3pymolpysnips ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/snippets/.

Note

Some snippets depend on some pymolshortcuts. Add the pymolshortcuts.py file to your working directory.

Related repositories

About

PyMOL Python snippet library to edit live Jupyter notebook cells with Sublime Text 3 using GhostText

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published