sgn icon indicating copy to clipboard operation
sgn copied to clipboard

Search Wizard: Genotyping Projects are included in Trials

Open dwaring87 opened this issue 3 years ago • 4 comments

Expected Behavior

In the Search Wizard, a Genotyping Project is listed in both the Genotyping Project category as well as the Trial category.

Example: on Cassavabase the "Farmer preferences genotyping project" is listed in both.

I would expect only phenotyping trials to be listed as "Trials".

For Bugs:

Environment

Steps to Reproduce

dwaring87 avatar Apr 01 '21 12:04 dwaring87

The query for the trials matview seems to include all projects except those of types: cross, trial_folder, folder_for_trials, folder_for_crosses

dwaring87 avatar Apr 01 '21 12:04 dwaring87

Has this issue been fixed?

lukasmueller avatar Oct 10 '21 01:10 lukasmueller

@lukasmueller The issue still exists, but I don't remember if it was decided if this was a "feature" or a "bug"

dwaring87 avatar Oct 11 '21 12:10 dwaring87

Causes #3860, so this is looking a lot more like a bug

Like David said a bunch of non-field trial project categories ('cross', 'trial_folder', 'folder_for_trials, 'folder_for_crosses', 'folder_for_genotyping_trials') are filtered out in the trials view definition, but not all of them. Part of the problem is the view has to be updated everytime a new category is added

A better solution would be to postively identify all field trials with a phenotyping_trial projectprop. Then the filter would only have to check a single prop, and would be a lot more futureproof.

bellerbrock avatar Dec 01 '21 21:12 bellerbrock