Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-2849

Sequence limits included in FASTA output regardless of user preference setting

    XMLWordPrintable

    Details

      Description

      FASTA files output by Jalview include sequence ID/start-end limits regardless of setting in preferences.

      The refactoring of the IO system introduced a generic suffix preference getter based on the Format class instance's name, unfortunately, the Capitalised format name was not being uppercased before the preference was being retrieved, breaking user preferences.


        public boolean getCacheSuffixDefault(FileFormatI format)
        {
          return Cache.getDefault(format.getName() + "_JVSUFFIX", true);
        }

        public String formatSequences(FileFormatI format, AlignmentI alignment,
                String[] omitHidden, int[] exportRange, HiddenColumns hidden)
        {
          return formatSequences(format, alignment, omitHidden, exportRange,
                  getCacheSuffixDefault(format), hidden, null);
        }

        Attachments

          Activity

            People

            Assignee:
            jprocter James Procter
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: