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:
4687a9d
)
JAL-2195 bug fix to enable restoring jmol session save on Windows on OSX
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 13 Sep 2016 09:51:27 +0000
(10:51 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 13 Sep 2016 09:51:27 +0000
(10:51 +0100)
src/jalview/gui/Jalview2XML.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
a9ff3b8
..
7093a9a
100644
(file)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-4009,6
+4009,12
@@
public class Jalview2XML
// filename
// translation differently.
StructureData filedat = oldFiles.get(new File(oldfilenam));
+ if (filedat == null)
+ {
+ String reformatedOldFilename = oldfilenam.replaceAll("/",
+ "\\\\");
+ filedat = oldFiles.get(new File(reformatedOldFilename));
+ }
newFileLoc.append(Platform.escapeString(filedat.getFilePath()));
pdbfilenames.add(filedat.getFilePath());
pdbids.add(filedat.getPdbId());