From PyMOLWiki
Jump to: navigation, search

I took the liberty to add one line of code to 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)