From bbe406a76fef95ce83e5b73aa08a0fd671446192 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Wed, 13 Jul 2016 11:28:06 +0100 Subject: [PATCH] JAL-2135 minor house-keeping --- src/jalview/ext/jmol/JmolParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/ext/jmol/JmolParser.java b/src/jalview/ext/jmol/JmolParser.java index 5effd2e..a791558 100644 --- a/src/jalview/ext/jmol/JmolParser.java +++ b/src/jalview/ext/jmol/JmolParser.java @@ -172,7 +172,7 @@ public class JmolParser extends StructureFile implements JmolStatusListener if (getId() == null) { - setId((inFile != null) ? inFile.getName() : safeName(getDataName())); + setId(safeName(getDataName())); } for (PDBChain chain : getChains()) { -- 1.7.10.2