X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructure%2FStructureImportSettings.java;h=af45278b5455c30db855acd36a361fbeb5d7e539;hb=853624fb32058cccc544ae7d13af6ad4b0800b6c;hp=3d41a837277834a71212d874b5ec9f4cd14e730e;hpb=d28fba781c93c83b6082e74b22a8bf52d241d609;p=jalview.git diff --git a/src/jalview/structure/StructureImportSettings.java b/src/jalview/structure/StructureImportSettings.java index 3d41a83..af45278 100644 --- a/src/jalview/structure/StructureImportSettings.java +++ b/src/jalview/structure/StructureImportSettings.java @@ -5,6 +5,7 @@ import jalview.datamodel.PDBEntry.Type; /** * bean holding settings for structure IO. TODO: tests for validation of values + * TODO: tests for race conditions (all fields are static, is that correct ?) * * @author tcofoegbu * @@ -36,7 +37,6 @@ public class StructureImportSettings JMOL_PARSER, JALVIEW_PARSER } - /** * Determines the default file format for structure files to be downloaded * from the PDB sequence fetcher. Possible options include: PDB|mmCIF @@ -48,6 +48,7 @@ public class StructureImportSettings * are : JMolParser|JalveiwParser */ private static StructureParser defaultPDBFileParser = StructureParser.JMOL_PARSER; + public static void addSettings(boolean addAlignmentAnnotations, boolean processSecStr, boolean externalSecStr) {