+ public void setAlignmentFormat(String formatString)
+ {
+ if (jalview.io.FormatAdapter.isValidIOFormat(formatString, true))
+ {
+ format = formatString;
+ }
+ else
+ {
+ throw new Error("Implemementation error: '" + formatString
+ + "' is not a valid format for writing alignment data.");
+ }
+ }
+