Skip to content

BUG: Example checker has problems suppressing type information #39

Description

@bmwoodruff

The example-checker.ipynb has problems supressing type information. Instead of displaying 0.0, it will display np.float64(0.0). Part of the issue was to format arrays properly, but in doing so we now get all kinds of extra type information being displayed.

It would be nice if the example checker could automate supressing type information, while still maintaining a nice clean format for arrays. One option might be array2string, which I tried with little success when first creating the checker. It needs more work. For now, you have to remove the extra type information, which is a bit better than trying to properly format output and smashing the space bar.

  • I'll mark this complete when I don't see type information showing up in examples for a week.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions