Skip to content

Commit

Permalink
Update resource results when filtering (#368)
Browse files Browse the repository at this point in the history
* rescale resources

* update changelog
  • Loading branch information
rcannood authored Nov 26, 2024
1 parent 29f9962 commit 89ee628
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

* Fix "used in" section in dataset pages (PR #362).

* Rescale resources in funkyheatmap when methods and/or datasets are filtered (PR #368).

# openproblems.bio v2.3.6

## NEW CONTENT
Expand Down
2 changes: 1 addition & 1 deletion results/_include/_summary_figure.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ results_resources = results.flatMap(d => {
dataset_id: d.dataset_id,
...d.resources
})
})
}).filter(d => method_ids.includes(d.method_id) && dataset_ids.includes(d.dataset_id))
function label_time(time) {
if (time < 1e-5) return "0s";
Expand Down

0 comments on commit 89ee628

Please sign in to comment.