legumeinfo / mine-issues

Report ALL issues on LIS mines here! Regardless of which mine you found it on!
2 stars 0 forks source link

Figure out why 5.1.0.3 gene family assignments are broken and fix them. #120

Closed sammyjava closed 1 year ago

sammyjava commented 1 year ago

Very odd.

sammyjava commented 1 year ago

This is a fundamental bug in 5.1.0.3, in which I added GeneFamilyAssignment.protein and GeneFamilyAssignment.gene reverse references to Gene.geneFamilyAssignments and Protein.geneFamilyAssignments.

Maybe a one-to-many problem. I'll figure it out. It's in the data, not the web code.

sammyjava commented 1 year ago

OK this seems vaguely familiar. Having the reverse-reference to gene in Gene.geneFamilyAssignments and the reverse-reference to protein in Protein.geneFamilyAssignments BREAKS the database. The collection tables are not built. Removing them fixes this. 5.1.0.3 mines have to be rebuilt with this fix. Fortunately, it's just a couple so far.