From 978323b040861e0e5bf01fcf0f2454d0dbf294a9 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Thu, 2 Mar 2023 23:02:27 +0000 Subject: [PATCH] JAL-629 slight tidy up --- src/jalview/ws/dbsources/EBIAlfaFold.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/jalview/ws/dbsources/EBIAlfaFold.java b/src/jalview/ws/dbsources/EBIAlfaFold.java index 8609046..8592bd3 100644 --- a/src/jalview/ws/dbsources/EBIAlfaFold.java +++ b/src/jalview/ws/dbsources/EBIAlfaFold.java @@ -154,20 +154,12 @@ public class EBIAlfaFold extends EbiFileRetrievedProxy @Override public AlignmentI getSequenceRecords(String queries) throws Exception { - // used by the SequenceFetcher. Put forSequencesOnly to true (don't open - // structure viewer later) - return getSequenceRecords(queries, null, true); + return getSequenceRecords(queries, null); } public AlignmentI getSequenceRecords(String queries, String retrievalUrl) throws Exception { - return getSequenceRecords(queries, retrievalUrl, false); - } - - public AlignmentI getSequenceRecords(String queries, String retrievalUrl, - boolean forSequencesOnly) throws Exception - { AlignmentI pdbAlignment = null; String chain = null; String id = null; @@ -226,8 +218,6 @@ public class EBIAlfaFold extends EbiFileRetrievedProxy stopQuery(); throw (ex); } - // distinguish between AlphaFold cif/pdb opened as structure file or fetched - // as sequence/alignment return pdbAlignment; } -- 1.7.10.2