inab / openEbench-frontend

Frontend for the OpenEBench platform
https://openebench.bsc.es
Apache License 2.0
1 stars 4 forks source link

Comparison Matrix is sometimes not rendered #19

Closed dominikbruechner closed 2 years ago

dominikbruechner commented 2 years ago

https://dev-openebench.bsc.es/scientific/OEBC002

Comparison Matrix not being displayed for certain datasets (probably cannot read a certain data format)

the 'Quest for Orthologs - 2020 Reference Proteomes' table renders only, if certain datasets are deselected

Screenshot 2021-11-17 at 12 49 09

Error comes from one of these modules:

Screenshot 2021-11-17 at 11 57 47
dominikbruechner commented 2 years ago

Resolved by removing division by zero of the benchmarking table API Before https://github.com/inab/bench_event_api/blob/fe8f91fbc054fe4c908f5accb94ac2d18e7f2428/table.py#L52-L59 After https://github.com/inab/bench_event_api/blob/3a953adffd888a69201124bb7520463babc69da4/libs/table.py#L54-L71