+ boolean parseSecStr=true;
+ for (SequenceI sq:sequence)
+ {
+ SequenceI ds = sq;while (ds.getDatasetSequence()!=null) { ds = ds.getDatasetSequence();};
+ if (ds.getAnnotation()!=null)
+ {
+ for (AlignmentAnnotation ala:ds.getAnnotation())
+ {
+ // false if any annotation present from this structure
+ if (MCview.PDBfile.isCalcIdForFile(ala.getCalcId(), pdbFile))
+ {
+ parseSecStr = false;
+ }
+ }
+ }
+ }