This is a read-only mirror of pymolwiki.org

Talk:Slerpy

From PyMOL Wiki
Revision as of 04:24, 14 June 2007 by Splette (talk | contribs) (explanation of minor code change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I took the liberty to add one line of code to slerpy.py: Since the sread command only reads in the key file and one has to read in the .pse manually anyway, I found it more intuitive to type

sread myfile.key

rather than

sread myfile

So, if you gave the full name of the key frame, the sread function would crash. I therefore added a line of code to the writeKeyViewFile function to ignore the .key of the filename in case you typed it. Thus, both ways are accepted. --Splette 23:24, 13 June 2007 (CDT)