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

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

Environment

None
Fixed

Assignee

Veronika Koltunova

Reporter

Marta Girdea

Labels

None

External issue ID

None

Fix versions

Affects versions

Priority

Medium