git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3725 exclude stop codon from CDS-to-protein mapping
[jalview.git]
/
src
/
jalview
/
ws
/
dbsources
/
EBIAlfaFold.java
diff --git
a/src/jalview/ws/dbsources/EBIAlfaFold.java
b/src/jalview/ws/dbsources/EBIAlfaFold.java
index
b4cb614
..
a93f233
100644
(file)
--- a/
src/jalview/ws/dbsources/EBIAlfaFold.java
+++ b/
src/jalview/ws/dbsources/EBIAlfaFold.java
@@
-82,7
+82,9
@@
public class EBIAlfaFold extends EbiFileRetrievedProxy
@Override
public Regex getAccessionValidator()
{
@Override
public Regex getAccessionValidator()
{
- return new Regex("(AF-[A-Z]+[0-9]+[A-Z0-9]+-F1)");
+ Regex validator = new Regex("(AF-[A-Z]+[0-9]+[A-Z0-9]+-F1)");
+ validator.setIgnoreCase(true);
+ return validator;
}
/*
}
/*
@@
-144,7
+146,7
@@
public class EBIAlfaFold extends EbiFileRetrievedProxy
try
{
try
{
- File tmpFile = File.createTempFile(id, "cif");
+ File tmpFile = File.createTempFile(id, ".cif");
UrlDownloadClient.download(alphaFoldCif, tmpFile);
// may not need this check ?
UrlDownloadClient.download(alphaFoldCif, tmpFile);
// may not need this check ?