Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi!
First of all, thanks a lot for this nice script (I saw your recent post on CCP4BB), it will really turn painless a significant part of my PhD thesis writing (which shall begin in a few months...). 😃
I suggest a little fix (see commit 0cc8636) that makes the script work under any python setup by just calling it from the shell command prompt.
As provided before this commit, the script could only (?) be run by typing the command
Now, provided that
/path/to
is in the user's$PATH
andpycorn.py
is executable, the script can simply be called by typingTested under Mac OS X 10.10.1 with Apple's default python setup. This should behave the same under any bash-like shell on any OS having a proper python setup.
Commit 5d028b8 only fixes a typo in console output (or what I saw as a typo, being non native English speaker...), and makes uniform the use of the term "plotting" instead of "printing" found in another console output (only a fussy reflex from someone who proofread a couple books in the past...).
Please don't ask me to propose a more elaborate pull request: I'm totally illiterate in programming. 😶