X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Ffts%2Fservice%2Falphafold%2FAlphafoldRestClient.java;h=7e95dd2b8742930ad7cc34f4babb3dd947041f8e;hb=c956ba7ae40dd7f269aa372044ed4ed5f28fb042;hp=5ee7aaa1d59dae94630c3a3d070157a45cc71627;hpb=cb8e52fbbc5f725e3f7f48c672cdddb0690bd978;p=jalview.git diff --git a/src/jalview/fts/service/alphafold/AlphafoldRestClient.java b/src/jalview/fts/service/alphafold/AlphafoldRestClient.java index 5ee7aaa..7e95dd2 100644 --- a/src/jalview/fts/service/alphafold/AlphafoldRestClient.java +++ b/src/jalview/fts/service/alphafold/AlphafoldRestClient.java @@ -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 . + * 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)) {