In this comment a user is trying to use core.mass (or stamp.mass) to compute a distance profile but their data contains np.nan/np.inf. Currently, nan/inf handling is handled at a higher abstraction level (which is fine) but it would be beneficial to allow core.mass/stamp.mass to automatically handle nan/inf since these functions will inevitably be called upon when finding matches to a single known pattern/motif.
In this comment a user is trying to use
core.mass(orstamp.mass) to compute a distance profile but their data containsnp.nan/np.inf. Currently,nan/infhandling is handled at a higher abstraction level (which is fine) but it would be beneficial to allowcore.mass/stamp.massto automatically handlenan/infsince these functions will inevitably be called upon when finding matches to a single known pattern/motif.