Fix 267: add better checking for callable metrics
Fix 267: add better checking for callable metrics: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Fix 267: add better checking for callable metrics
The task
**Title:** Fix #267: add better checking for callable metrics
Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.