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

configurable newline string when writing alignment and other flat files

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: file format issue
    • Labels:

      Description

      Jalview version 2.6.x and prior use hardwired newline character codes ("\n") in many of the file output routines. This is not strictly platform independent (see this article: http://www.stevengould.org/portfolio/SunWorld/swol-11-1998/swol-11-javaapps.html), since best practice is to write lines using the local newline format (as generated by system.out.println does).

      It may also be important to be able to control the newline character used when a specific platform is targeted - i.e. form textarea content is normally encoded with \r\n line separators.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: