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
merge
[jalview.git]
/
src
/
jalview
/
gui
/
ChimeraViewFrame.java
diff --git
a/src/jalview/gui/ChimeraViewFrame.java
b/src/jalview/gui/ChimeraViewFrame.java
index
1e6da78
..
1d60d6c
100644
(file)
--- a/
src/jalview/gui/ChimeraViewFrame.java
+++ b/
src/jalview/gui/ChimeraViewFrame.java
@@
-434,7
+434,7
@@
public class ChimeraViewFrame extends StructureViewerBase
String chain = null;
if (seq.getDatasetSequence() != null)
{
String chain = null;
if (seq.getDatasetSequence() != null)
{
- Vector<PDBEntry> pdbrefs = seq.getDatasetSequence().getPDBId();
+ Vector<PDBEntry> pdbrefs = seq.getDatasetSequence().getAllPDBEntries();
if (pdbrefs != null && pdbrefs.size() > 0)
{
chain = pdbrefs.get(0).getChainCode();
if (pdbrefs != null && pdbrefs.size() > 0)
{
chain = pdbrefs.get(0).getChainCode();
@@
-950,7
+950,7
@@
public class ChimeraViewFrame extends StructureViewerBase
if (pdbseq != null && pdbseq.getHeight() > 0)
{
// just use the file name from the first sequence's first PDBEntry
if (pdbseq != null && pdbseq.getHeight() > 0)
{
// just use the file name from the first sequence's first PDBEntry
- filePath = new File(pdbseq.getSequenceAt(0).getPDBId()
+ filePath = new File(pdbseq.getSequenceAt(0).getAllPDBEntries()
.elementAt(0).getFile()).getAbsolutePath();
processingEntry.setFile(filePath);
}
.elementAt(0).getFile()).getAbsolutePath();
processingEntry.setFile(filePath);
}
@@
-1378,11
+1378,10
@@
public class ChimeraViewFrame extends StructureViewerBase
is.close();
} catch (IOException e)
{
is.close();
} catch (IOException e)
{
- // ignoreß
+ // ignore
}
}
}
}
}
}
- // return this.chimeraSessionFile == null ? "" : chimeraSessionFile;
}
@Override
}
@Override