Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flipkin: Add binary command detection for reduce, probe, and prekin. #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jaredsampson
Copy link

For users without a PHENIX installation, hard-coding phenix.xxx paths in the flipkin script (added in 7c39436) is problematic and requires either tinkering with the source or installing an outdated version.

To remedy this, I patched Flipkin to check the shell PATH for standalone and PHENIX-associated executables (e.g. reduce and phenix.reduce) in that order, and use the first one found to execute the program calls. If neither option is found, it now dies with an error asking to please install the program in question.

@jaredsampson jaredsampson changed the title Add binary command detection for reduce, probe, and prekin. Flipkin: Add binary command detection for reduce, probe, and prekin. Jan 11, 2017
Check for standalone and PHENIX-associated executables (e.g. 'reduce' and 'phenix.reduce') in that order, and uses the first one found to execute the program calls.  If neither option is found, dies with an error.
@jaredsampson
Copy link
Author

Hi MolProbity devs - Have you considered incorporating this change (or one like it) to allow flipkin to use standalone (i.e. non-Phenix) versions of reduce, probe, and prekin? In writing the PyMOLProbity plugin (MolProbity-style visualization for PyMOL), I wanted to allow people to use the plugin without installing all of Phenix, so I patched Flipkin and linked to my fork in the installation instructions. It'd be nice to be able to point them to the official distribution instead. Let me know if you have any concerns or suggestions...Perl isn't my native language... @rlabduke @bhintze @chrissciwilliams

Copy link

@rfenwickab rfenwickab left a comment

Choose a reason for hiding this comment

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

seems sensible

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