git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b38b4
)
JAL-3026 Java bug associated with File/String mods
author
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Fri, 24 Aug 2018 07:35:44 +0000
(
02:35
-0500)
committer
hansonr
<hansonr@STO24954W.ad.stolaf.edu>
Fri, 24 Aug 2018 07:35:44 +0000
(
02:35
-0500)
in AlignFrame lines 4586,4592
src/jalview/gui/AlignFrame.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AlignFrame.java
b/src/jalview/gui/AlignFrame.java
index
a59cc13
..
3db81f1
100644
(file)
--- 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++;
}