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

Output as JSON doesn't handle feature score of Float.NaN

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.10.1, 2.10.2
    • Fix Version/s: None
    • Component/s: jvdesktop, sequencefeatures
    • Labels:
      None

      Description

      If any feature has a score value Float.NaN, then
      - Output to Textbox as JSON, select Export Features
      - the feature is included in the JSON array as a null value
      - NullPointerException occurs when it is parsed (on New Window from output) (and this aborts all feature parsing, so none are created)

      Currently it is not simple to create a feature with a NaN score, however it can be done by amending exampleFeatures.txt to add NaN as an extra column, then load this on to uniref50.fa.

      Float.NaN scores would be more commonly used (for example when parsing Ensembl data) were it not for bug JAL-2060.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: