Skip to content
Snippets Groups Projects
Unverified Commit 90186c04 authored by Wojtek Bażant's avatar Wojtek Bażant Committed by GitHub
Browse files

Document a feature: update() removes web_data

I call update() to populate analysis descriptions, from a script `ensembl_genomes/eg-pipelines/scripts/production_db/analysis_desc_from_prod.pl`. I found this when I was searching why `analysis_description.web_data` wasn't populated in WormBase ParaSite. Ensembl probably populates `analysis_description.web_data` differently, and has it working.

 As far as I see the code has been like that for a long time (2 years?), and there's some special behaviour and disclaimers about this field which I don't understand. I also don't really understand the consequences of making the column populated again. So I'm calling it a feature instead of a bug.

@nerdstrike you might know what to do with it!
parent ffedb151
No related branches found
No related tags found
2 merge requests!351Document a feature: update() removes web_data,!351Document a feature: update() removes web_data
......@@ -94,6 +94,7 @@ is($analysis_updated->logic_name(), "new_dummy", "Logic name is correct");
is($analysis_updated->description(), "new description", "Description is correct");
is($analysis_updated->display_label(), "new label", "Label is correct");
is($analysis_updated->displayable(), 0, "Displayable is correct");
is($analysis_updated->web_data(), undef, "web_data is wiped on update");
# now try updating analysis that has no existing description
$analysis = Bio::EnsEMBL::Analysis->new();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment