git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be4db18
)
inFile might be null if PDB was pasted
author
amwaterhouse
<Andrew Waterhouse>
Fri, 11 Aug 2006 08:21:39 +0000
(08:21 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Fri, 11 Aug 2006 08:21:39 +0000
(08:21 +0000)
src/MCview/PDBfile.java
patch
|
blob
|
history
diff --git
a/src/MCview/PDBfile.java
b/src/MCview/PDBfile.java
index
d197e31
..
3153e3c
100755
(executable)
--- a/
src/MCview/PDBfile.java
+++ b/
src/MCview/PDBfile.java
@@
-115,7
+115,8
@@
public class PDBfile extends jalview.io.AlignFile {
\r
PDBEntry entry = new PDBEntry();
\r
entry.setId(id);
\r
- entry.setFile(inFile.getAbsolutePath());
\r
+ if(inFile!=null)
\r
+ entry.setFile(inFile.getAbsolutePath());
\r
\r
seq.setDatasetSequence(dataset);
\r
dataset.addPDBId(entry);
\r