JAL-3026 GD#107,128,130,139 build-site.xml
[jalview.git] / src / jalview / ws / dbsources / Pdb.java
index e4326d1..a658089 100644 (file)
@@ -165,7 +165,7 @@ public class Pdb extends EbiFileRetrievedProxy
       // todo get rid of Type and use FileFormatI instead?
       FileFormatI fileFormat = (pdbFileFormat == Type.PDB) ? FileFormat.PDB
               : FileFormat.MMCif;
-      pdbAlignment = new FormatAdapter().readFile(file, DataSourceType.FILE,
+      pdbAlignment = new FormatAdapter().readFile(tmpFile, DataSourceType.FILE,
               fileFormat);
       if (pdbAlignment != null)
       {