Bugs item #1816070, was opened at 2007-10-18 11:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1816070&group_id=23629
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug in ModelManager.java file in Jmol 11.2.14
Initial Comment:
We have found a problem in the org.jmol.modelset.ModelManager.java file on line
977 in the Hashtable getAtomInfoLong(int i) method for Jmol version 11.2.14
The original code is as follows:
info.put("model", new Integer(atom.getModelNumberDotted()));
This line throws a NumberFormatException as model number is of type float and
when you try to create Integer object from it it fails.
You can fix this by replacing the line with
info.put("model", new Float(atom.getModelNumberDotted()));
We downloaded the source code and made the change that we suggested and tested
and it works.
Just wanted to inform the Jmol team as you can make this change in the original
Jmol code.
See attached fixed file with this.
The library works good.
Thanks,
Vikram Mahuvakar
Senior Scientific Software Engineer
Roche Palo Alto
[EMAIL PROTECTED]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=1816070&group_id=23629
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers