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-3956 - PDBEntry objects constructed from 3D-Beacons have authoritative IDs overri...
[jalview.git]
/
src
/
jalview
/
gui
/
structurechooser
/
ThreeDBStructureChooserQuerySource.java
diff --git
a/src/jalview/gui/structurechooser/ThreeDBStructureChooserQuerySource.java
b/src/jalview/gui/structurechooser/ThreeDBStructureChooserQuerySource.java
index
b1ad65f
..
669e58a
100644
(file)
--- a/
src/jalview/gui/structurechooser/ThreeDBStructureChooserQuerySource.java
+++ b/
src/jalview/gui/structurechooser/ThreeDBStructureChooserQuerySource.java
@@
-12,7
+12,7
@@
import java.util.Set;
import javax.swing.JTable;
import javax.swing.JTable;
-import jalview.bin.Cache;
+import jalview.bin.Console;
import jalview.datamodel.DBRefEntry;
import jalview.datamodel.DBRefSource;
import jalview.datamodel.PDBEntry;
import jalview.datamodel.DBRefEntry;
import jalview.datamodel.DBRefSource;
import jalview.datamodel.PDBEntry;
@@
-415,12
+415,13
@@
public class ThreeDBStructureChooserQuerySource
{
pdbEntry = new PDBEntry();
pdbEntry.setId(pdbIdStr);
{
pdbEntry = new PDBEntry();
pdbEntry.setId(pdbIdStr);
+ pdbEntry.setAuthoritative(true);
try
{
pdbEntry.setType(PDBEntry.Type.valueOf(strucFormat));
} catch (Exception q)
{
try
{
pdbEntry.setType(PDBEntry.Type.valueOf(strucFormat));
} catch (Exception q)
{
- Cache.warn("Unknown filetype for 3D Beacons Model from: "
+ Console.warn("Unknown filetype for 3D Beacons Model from: "
+ strucFormat + " - " + pdbIdStr + " - " + modelPage);
}
+ strucFormat + " - " + pdbIdStr + " - " + modelPage);
}