Skip to content

Commit deabc68

Browse files
committed
more clear message if something goes wrong
git-svn-id: http://code.open-bio.org/repos/biojava/biojava-live/trunk@9534 7c6358e6-4a41-0410-a743-a5b2a554c398
1 parent e3a8dcd commit deabc68

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

biojava3-modfinder/src/test/java/org/biojava3/protmod/structure/ProteinModificationParserTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,11 @@ private void parserTest(String pdbId, Set<ProteinModification> mods) throws IOEx
325325

326326
parser.identify(struc, mods);
327327

328-
assertFalse(pdbId + " is not false" ,
328+
if (! parser.getIdentifiedModifiedCompound().isEmpty() ){
329+
System.err.println("Did not identify any modified compounds for " + pdbId);
330+
}
331+
332+
assertFalse("Did not identify any modified compounds for " + pdbId ,
329333
parser.getIdentifiedModifiedCompound().isEmpty());
330334

331335
boolean print = false;

0 commit comments

Comments
 (0)