From 0293d494ae19bbd5b5e92ade0cde30292b109f81 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Thu, 2 Jun 2016 17:36:49 +0100 Subject: [PATCH] JAL-2020 fix for Jmol choking jalview while loading a structure --- src/jalview/structures/models/AAStructureBindingModel.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jalview/structures/models/AAStructureBindingModel.java b/src/jalview/structures/models/AAStructureBindingModel.java index 42fbfa9..dc42315 100644 --- a/src/jalview/structures/models/AAStructureBindingModel.java +++ b/src/jalview/structures/models/AAStructureBindingModel.java @@ -598,6 +598,10 @@ public abstract class AAStructureBindingModel extends for (String file : files) { notLoaded = file; + if (file == null) + { + continue; + } try { StructureMapping[] sm = getSsm().getMapping(file); -- 1.7.10.2