From 8de672a19aa66c59e84511da1961dd35397c02cb Mon Sep 17 00:00:00 2001 From: hansonr Date: Fri, 24 Aug 2018 02:35:44 -0500 Subject: [PATCH] JAL-3026 Java bug associated with File/String mods in AlignFrame lines 4586,4592 --- src/jalview/gui/AlignFrame.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index a59cc13..3db81f1 100644 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -4583,13 +4583,13 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener, for (SequenceI toassoc : (SequenceI[]) fm[2]) { PDBEntry pe = new AssociatePdbFileWithSeq() - .associatePdbWithSeq((String) fm[0], + .associatePdbWithSeq(fm[0].toString(), (DataSourceType) fm[1], toassoc, false, Desktop.instance); if (pe != null) { System.err.println("Associated file : " - + ((String) fm[0]) + " with " + + (fm[0].toString()) + " with " + toassoc.getDisplayId(true)); assocfiles++; } -- 1.7.10.2