This fixed a bug in labels with the %M format. Formerly it was
inserting the full model name, which could be very long, into the %M
atom label format. (Which reminds me, please redo my fix of %m.)
Atom.atomLabelFormat():
case 'M':
strT = "" + getModelTagNumber();
break;
case 'm':
strT = getGroup1();
%M is supposed to return a number, not a model name.
Please redo that fix. There are some reader files fixes that go along
with this, as I recall. Check the commit trail. I believe I made the
distinction now between modelTag and modelTagNumber. That's important.
Miguel wrote:
Review prior to 10.1 release
============================
[snip]
Reader/File related
-------------------
r4501 - modelNumber for non-pdb + getCurrentFileContents
Bob,
In this commit you changed the interpretation of the 'model' for non-pdb
files to be strictly numeric.
Formerly the code was always trying to convert the 'model tag' into an
integer.
Now it only tries the conversion if the file is .pdb
Q: Can you tell me a little about what problem was being caused and the
motivation behind the change?
Thanks,
Miguel
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers
--
Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr
"Imagination is more important than knowledge." - Albert Einstein
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers