From: Jim Procter Date: Wed, 7 Sep 2016 11:26:32 +0000 (+0100) Subject: JAL-282 TODO - Sequence name from PDB had redundant info X-Git-Tag: Release_2_10_0~47^2~4^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=779c04818839bd05d52a4137218ac9dbe5b4835d;p=jalview.git JAL-282 TODO - Sequence name from PDB had redundant info --- diff --git a/src/jalview/ws/dbsources/Pdb.java b/src/jalview/ws/dbsources/Pdb.java index 61c5c04..04c23a2 100644 --- a/src/jalview/ws/dbsources/Pdb.java +++ b/src/jalview/ws/dbsources/Pdb.java @@ -173,6 +173,8 @@ public class Pdb extends EbiFileRetrievedProxy || chid.trim().equals(chain.trim()) || (chain .trim().length() == 0 && chid.equals("_"))))) { + // FIXME seems to result in 'PDB|1QIP|1qip|A' - 1QIP is redundant. + // TODO: suggest simplify naming to 1qip|A as default name defined pdbcs.setName(jalview.datamodel.DBRefSource.PDB + "|" + id + "|" + pdbcs.getName()); // Might need to add more metadata to the PDBEntry object