UCLOrengoGroup / cath-todo

Issues relating to the CATH protein structure classification web pages
4 stars 0 forks source link

Crosshits - classification node age error #25

Closed nataliedawson closed 6 years ago

nataliedawson commented 6 years ago

On the Crosshits webpages, when testing out the actioning using the 'Merge' -> 'Action' buttons, the following warning comes up that the 'from' classification is older than the 'to' classification. This however is not the case because the 'from' classification' is ten years older than the 'to' classification.

Example:

Merging cluster...

1

WARNING The 'from' classification is older than the 'to' classification: FROM: Classification[<1.10.10.2720> "" [ACTIVE]] (2016-03-14 17:19:34.812995) TO: Classification[<1.10.10.250> "Ribosomal protein L11, C-terminal domain" [ACTIVE]] (2006-03-05 18:02:01.384295) Updating C.A.T.H to '1.10.10.250' in the domain table for 3cjqB02 Adding event 'CLASSIFICATION_MERGE' in the domain history for 3cjqB02 (related domain: 1vq8I00) Updating C.A.T.H to '1.10.10.250' in the domain table for 3cjqE02 Adding event 'CLASSIFICATION_MERGE' in the domain history for 3cjqE02 (related domain: 1vq8I00) Updating C.A.T.H to '1.10.10.250' in the domain table for 3cjqH02 Adding event 'CLASSIFICATION_MERGE' in the domain history for 3cjqH02 (related domain: 1vq8I00) Updating C.A.T.H to '1.10.10.250' in the domain table for 3cjrB02 Adding event 'CLASSIFICATION_MERGE' in the domain history for 3cjrB02 (related domain: 1vq8I00) Inserted 'MERGE_FROM' event in classification history table: [xml] <?xml version="1.0"?>

Inserted 'MERGE_TO' event in classification history table: [xml] <?xml version="1.0"?>

Updated the classification table to inactivate classification node Adding event to classification_history table

2

Commit flag is false: rolling back changes...

nataliedawson commented 6 years ago

Issue has been fixed in CathDB.pm.