[ENH]: Implement a NaN policy for onthefly.read_transform #429
No reviewers
Labels
No labels
CRITICAL
Stale
WIP
bug
concept
coordinate
dataset
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
maintenance
maps
marker
mask
on hold
parcellation
preprocess
question
ready
storage
template-space
triage
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
juaml/junifer!429
Loading…
Reference in a new issue
No description provided.
Delete branch "enh/read_transform_nan"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR implements a policy to handle NaN values before calling the respective transformation function in
read_transform.Current options are:
bypass: do nothing, pass NaNs.drop_element: skip elements with at least one NaN valuedrop_rows: skip rows with at least one NaN valuedrop_symmetric: skip rows and columns symmetrically, keeping the matrix squared.Codecov Report
All modified and coverable lines are covered by tests ✅
Additional details and impacted files
91.30% <100.00%> (+0.03%)Flags with carried forward coverage won't be shown. Click here to find out more.
100.00% <100.00%> (ø)🚀 New features to boost your workflow: