Skip to content

Commit

Permalink
Updated error message for empty smi file
Browse files Browse the repository at this point in the history
  • Loading branch information
goglepox committed Oct 29, 2012
1 parent 06c5499 commit d74005a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2048,7 +2048,7 @@ public List<ICDKMolecule> loadSMILESFile( InputStream contents,
BufferedReader breader = new BufferedReader(reader);

if ( !breader.ready() ) {
throw new IOException("Input was not ready to be read.");
throw new IOException("SMILES file is empty or it is not ready to be read");
}
List<ICDKMolecule> molecules = new ArrayList<ICDKMolecule>();
AtomTypeAwareSaturationChecker ataSatChecker = new AtomTypeAwareSaturationChecker();
Expand Down

0 comments on commit d74005a

Please sign in to comment.