JAL-3088 check for validEnd when working out whether arrow should point to left when...
[jalview.git] / src / jalview / fts / service / alphafold / AlphafoldRestClient.java
index 5ee7aaa..7e95dd2 100644 (file)
@@ -1,11 +1,29 @@
+/*
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * 
+ * This file is part of Jalview.
+ * 
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License 
+ * as published by the Free Software Foundation, either version 3
+ * of the License, or (at your option) any later version.
+ *  
+ * Jalview is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty 
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
+ * PURPOSE.  See the GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ */
 package jalview.fts.service.alphafold;
 
-import java.net.MalformedURLException;
 import java.net.URL;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
-import java.util.Map;
 import java.util.Objects;
 
 import jalview.bin.Console;
@@ -49,7 +67,8 @@ public class AlphafoldRestClient
       String alphaFoldId = "AF-" + upref.getAccessionId() + "-F1";
       try
       {
-        String urls = EBIAlfaFold.getAlphaFoldCifDownloadUrl(alphaFoldId);
+        String urls = EBIAlfaFold.getAlphaFoldCifDownloadUrl(alphaFoldId,
+                null);
         URL url = new URL(urls);
         if (!HttpUtils.checkUrlAvailable(url, 50))
         {