From: tcofoegbu Date: Wed, 13 Jul 2016 10:28:06 +0000 (+0100) Subject: JAL-2135 minor house-keeping X-Git-Tag: Release_2_10_0~143 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bbe406a76fef95ce83e5b73aa08a0fd671446192;p=jalview.git JAL-2135 minor house-keeping --- 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()) {