-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a bug. Thanks for finding it. I have fixed it in the latest CVS version of biojava-live.
cheers, Richard [EMAIL PROTECTED] wrote: > Hi all, > > I am writing an applet to display chromatogram files. I am using > ChromatogramFactory to open the files. I've gotten the display to work when > opening the chromatogram from a file, but when I pass in an InputStream (like > from URL.openStream() or a FileInputStream) it gives me the following error > message: > > Exception in thread "main" java.lang.ClassCastException: > org.biojava.bio.program.abi.ABIFParser$DataStream > at > org.biojava.bio.program.abi.ABIFChromatogram$Parser.parse(ABIFChromatogram.java:154) > at > org.biojava.bio.program.abi.ABIFChromatogram$Parser.<init>(ABIFChromatogram.java:118) > at > org.biojava.bio.program.abi.ABIFChromatogram.load(ABIFChromatogram.java:101) > at > org.biojava.bio.program.abi.ABIFChromatogram.create(ABIFChromatogram.java:89) > at > org.biojava.bio.chromatogram.ChromatogramFactory.create(ChromatogramFactory.java:119) > at JimChromatogramGUI.<init>(JimChromatogramGUI.java:16) > at JimChromatogramGUI.main(JimChromatogramGUI.java:52) > > Why is it doing this? Is there some way to get around this problem or fix it > so > that I can open a file from a url? > > -- > > _______________________________________________ > Biojava-l mailing list - [email protected] > http://lists.open-bio.org/mailman/listinfo/biojava-l > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG+1724C5LeMEKA/QRAkVcAJ4kLy2XNTBgApOcN+kisbDFSeUZSACfXgKF avd11Lw/13FZ+ZF8tG/jBqw= =kvPW -----END PGP SIGNATURE----- _______________________________________________ Biojava-l mailing list - [email protected] http://lists.open-bio.org/mailman/listinfo/biojava-l
