Skip to content

[joss] Most operations fail on empty hypergraph #137

@szhorvat

Description

@szhorvat

Describe the bug

Most operations fail on empty hypergraph.

To Reproduce

hh = hnx.Hypergraph()
hn.draw(hh) # errors
hh.is_connected() # errors
hh.bipartite() # errors

Almost all functions / methods I tried threw a non-intuitive error.

HNX 2.1.3

Ref openjournals/joss-reviews#6016

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions