git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-1517 source formatting
[jalview.git]
/
src
/
jalview
/
ws
/
dbsources
/
Pdb.java
diff --git
a/src/jalview/ws/dbsources/Pdb.java
b/src/jalview/ws/dbsources/Pdb.java
index
b252900
..
1c6c015
100644
(file)
--- a/
src/jalview/ws/dbsources/Pdb.java
+++ b/
src/jalview/ws/dbsources/Pdb.java
@@
-138,7
+138,7
@@
public class Pdb extends EbiFileRetrievedProxy implements DbSourceProxy
jalview.io.AppletFormatAdapter.FILE, "PDB");
if (pdbfile != null)
{
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;
for (SequenceI pdbcs : pdbfile.getSequences())
{
String chid = null;
@@
-183,17
+183,18
@@
public class Pdb extends EbiFileRetrievedProxy implements DbSourceProxy
}
else
{
}
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);
}
}
// - 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);
}
}
pdbfile.deleteSequence(pdbcs);
}
}
-
+
if (pdbfile == null || pdbfile.getHeight() < 1)
{
throw new Exception("No PDB Records for " + id + " chain "
if (pdbfile == null || pdbfile.getHeight() < 1)
{
throw new Exception("No PDB Records for " + id + " chain "