Uploaded image for project: 'PhenoTips'
  1. PT-3033

Comments associated with empty gene entries in 1.2.x are lost upon migration to 1.3

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects versions: 1.3-milestone-5
    • Fix versions: 1.3-rc-1
    • Components: None
    • Labels:
      None
    • Sprint:

      Description

      It appears that users occasionally used the "rejected genes" section in 1.2 only for comments, e.g. a whole gene panel that was ran and came back negative. These comments are associated with an empty gene entry therefore are ignored by gene migrators.

      In order to prevent data loss when migrating, we should:

      • introduce a new generic "Comments" field at the end of the "Genotype information " section
      • migrate all the comments associated with empty gene entries to this field.

      Technically, it is possible that there be an entry "in "List of candidate genes" with empty genes (although it's hard to think of a usecase).

      The comment section should have the following content:

      • if there are comments with empty genes in "List of candidate genes", add:

        List of candidate genes

        • comment from entry with empty gene #1
        • comment from entry with empty gene #2
        • ...
      • if there are comments with empty genes in "Previously tested genes, unlikely causative", add:

        Previously tested genes, unlikely causative

        • comment from entry with empty gene #1
        • comment from entry with empty gene #2
        • ...

      Example:
      If in 1.2.x the "Genotype Information" section looks like this:

      then in 1.3 the new comments field should contain:

      Previously tested genes, unlikely causative

      • Panel ABC came back negative
      • Panel XYZ came back negative

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                veronikaslc Veronika Koltunova
                Reporter:
                marta Marta Girdea
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: