Skip to content

Conversation

@jaredsampson
Copy link
Contributor

This PR generalizes the format used for declaring the color palettes using two new NamedTuple classes, Palette and PaletteColor. In addition to the original "colorblind" palette, it also adds "viridis" and "magma" palettes (as suggested by Yehudi Bloch).

Tested with PyMOL versions 3.0 and 2.5.7.

…s into generalize-cbf

* 'generalize-cbf' of github.com:jaredsampson/pymol-scripts:
  Improve logging to stdout.
  Prevent duplicate printing of added colors when adding multiple palettes.
  Ignore readability-improving palette whitespace for flake8.
  Add matplotlib reference for viridis and magma palettes.
  Add viridis and magma palettes (h/t Yehudi Bloch).
  Generalize color/menu handling to enable additional palettes.
* master: (21 commits)
  Fix combo box not showing all options.
  New virtual screening interface based on AutoDock Vina ecosystem.
  Update vina.py
  added initial docstring, revised import section, and added .py to name
  Create cgoCircle
  Update tmalign.py
  List plugins documentation (Pymol-Scripts#146)
  Fix support for multiple objects selection
  Add support for multiple object haystack in findseq.py
  Independent color and as_putty options for color_by_conservation.py (Pymol-Scripts#145)
  Add output message for findseq + don't create empty selection when seq was not found (Pymol-Scripts#141)
  Update tmalign.py
  Outline plugin version 0.2
  minor fix
  An attempt to improve plugin the plugin documentations.
  Delete documentation.md
  Rename documentation.html to documentation.md
  Create documentation.html
  Port dynoplot to Qt
  Add tab-completion to findseq
  ...
Copy link
Contributor

@JarrettSJohnson JarrettSJohnson left a comment

Choose a reason for hiding this comment

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

Thanks Jared. LGTM

@JarrettSJohnson JarrettSJohnson merged commit 6410edc into Pymol-Scripts:master Feb 10, 2025
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