X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Febi%2FEBIFetchClient.java;fp=src%2Fjalview%2Fws%2Febi%2FEBIFetchClient.java;h=3e8c55ed621b8f9d3a60c1d3f81911122211b139;hb=76f97715b6ea0cd81f8b8176988e0b9b09a66a3d;hp=f6928c4aa7e60e92d65ed0630b205958e5429b18;hpb=71efdade7739028c65e30e692bef81b4496d4c3d;p=jalview.git diff --git a/src/jalview/ws/ebi/EBIFetchClient.java b/src/jalview/ws/ebi/EBIFetchClient.java index f6928c4..3e8c55e 100644 --- a/src/jalview/ws/ebi/EBIFetchClient.java +++ b/src/jalview/ws/ebi/EBIFetchClient.java @@ -91,7 +91,7 @@ public class EBIFetchClient * @param format * the format wanted * @param extension - * for the temporary file to hold response + * for the temporary file to hold response (without separator) * @return the file holding the response * @throws OutOfMemoryError */ @@ -102,7 +102,7 @@ public class EBIFetchClient File outFile = null; try { - outFile = File.createTempFile("jalview", ext); + outFile = File.createTempFile("jalview", "." + ext); outFile.deleteOnExit(); fetchData(ids, format, outFile); if (outFile.length() == 0)