jalview.io.AppletFormatAdapter.FILE, "PDB");
if (pdbfile != null)
{
- List<SequenceI> toremove=new ArrayList<SequenceI>();
+ List<SequenceI> toremove = new ArrayList<SequenceI>();
for (SequenceI pdbcs : pdbfile.getSequences())
{
String chid = null;
}
else
{
- // mark this sequence to be removed from the alignment
+ // mark this sequence to be removed from the alignment
// - since it's not from the right chain
toremove.add(pdbcs);
}
}
- // now remove marked sequences
- for (SequenceI pdbcs:toremove) {
+ // now remove marked sequences
+ for (SequenceI pdbcs : toremove)
+ {
pdbfile.deleteSequence(pdbcs);
}
}
-
+
if (pdbfile == null || pdbfile.getHeight() < 1)
{
throw new Exception("No PDB Records for " + id + " chain "