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:
9c87de9
)
JAL-2533 improvement to prune off file extension when imported seqs are named with...
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Mon, 15 May 2017 14:52:56 +0000
(15:52 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Mon, 15 May 2017 14:52:56 +0000
(15:52 +0100)
src/jalview/io/StructureFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/StructureFile.java
b/src/jalview/io/StructureFile.java
index
7fe17c8
..
5ff1a02
100644
(file)
--- a/
src/jalview/io/StructureFile.java
+++ b/
src/jalview/io/StructureFile.java
@@
-415,6
+415,9
@@
public abstract class StructureFile extends AlignFile
{
dataName = dataName.substring(p + 1);
}
+ if(dataName.indexOf(".") > -1){
+ dataName = dataName.substring(0, dataName.lastIndexOf("."));
+ }
return dataName;
}