bigomics / playbase

Core back-end functionality and logic for OmicsPlayground
Other
3 stars 0 forks source link

Contrasts invalid if group names (from contrast name) is not exact matching conditions #103

Closed ivokwee closed 6 months ago

ivokwee commented 6 months ago

Contrasts invalid if group names (from contrast name) is not exact matching conditions in contrast.csv file. For examples a contrast name 'Cing_vs_Temp' will not be accepted with conditions 'Cingular cortex' and 'Temporal cortex' in the pgx.checks.

It would be nice to still allow 'Cing_vs_Temp' by partial matching.

ivokwee commented 6 months ago

We partially match contrasts columns to the group names extracted from the name (e.g. A_vs_B). Conditions can now retains their longer names but must match the group names at the start of the string.

Before: image

After: image

ivokwee commented 6 months ago

Solved in commit ba042390b330b122cb88deca5a6d3318f349039f