thanks -- fixed.

On Fri, May 21, 2010 at 2:16 PM, Nicolas Vervelle <nvervelle@gmail.com> wrote:
Hi,

When running the unit tests, I have several exceptions for the crystal reader :


java.lang.StringIndexOutOfBoundsException: String index out of range: 28
    at java.lang.String.substring(String.java:1935)
    at org.jmol.adapter.readers.xtal.CrystalReader.readGradient(CrystalReader.java:312)
    at org.jmol.adapter.readers.xtal.CrystalReader.checkLine(CrystalReader.java:237)
    at org.jmol.adapter.smarter.AtomSetCollectionReader.readAtomSetCollection(AtomSetCollectionReader.java:218)
    at org.jmol.adapter.smarter.AtomSetCollectionReader.readData(AtomSetCollectionReader.java:191)
    at org.jmol.adapter.smarter.Resolver.getAtomCollectionAndCloseReader(Resolver.java:263)
    at org.jmol.adapter.smarter.SmarterJmolAdapter.staticGetAtomSetCollectionFromReader(SmarterJmolAdapter.java:78)
    at org.jmol.adapter.smarter.SmarterJmolAdapter.getAtomSetCollectionFromReader(SmarterJmolAdapter.java:70)


junit.framework.AssertionFailedError: Error returned for ..\Jmol-datafiles\crystal\alpha_quartz.out: Error reading file at line 893:

String index out of range: 28
for file alpha_quartz.out
type Crystal



------------------------------------------------------------------------------


_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers




--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900