Skip to content
This repository was archived by the owner on Oct 24, 2024. It is now read-only.
This repository was archived by the owner on Oct 24, 2024. It is now read-only.

Debug flag for map_over_subtree #190

@jbusecke

Description

@jbusecke

This is a common scenario for me:
I construct a tree from many different datasets, manipulate, and plot it.
Now let's say, something unexpected happened, that will throw an error during plotting of only one/a subset of datasets (e.g. the dimensions of one of the datasets was larger than expected hence the plot fails).

If there was a way to get the exact path of the failure

dt.map_over_subtree(plot_func, debug=True) --> "An error occured while trying to map function over `sub/tree/path/to/dataset`"

That would speed up finding issues with inhomogeneous data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions