From 1884af2c1b6fda86d6e17ec2312db0f1d6b2ecbd Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 11 Aug 2006 08:21:39 +0000 Subject: [PATCH] inFile might be null if PDB was pasted --- src/MCview/PDBfile.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MCview/PDBfile.java b/src/MCview/PDBfile.java index d197e31..3153e3c 100755 --- a/src/MCview/PDBfile.java +++ b/src/MCview/PDBfile.java @@ -115,7 +115,8 @@ public class PDBfile extends jalview.io.AlignFile { PDBEntry entry = new PDBEntry(); entry.setId(id); - entry.setFile(inFile.getAbsolutePath()); + if(inFile!=null) + entry.setFile(inFile.getAbsolutePath()); seq.setDatasetSequence(dataset); dataset.addPDBId(entry); -- 1.7.10.2