Skip to content

Identify to return all hits from a census, not just the first #147

Description

@saulsch

The veering census is a census of veering structures, not manifolds. And a manifold can have several veering structures (sometimes several on the same triangulation!). So, if M is a manifold, then M.identify() should return all of the known veering structures on M, not just the first.

So, in the block starting line 381 in database.py

for mfld in mflds:

add a list

hits = []

instead of returning N as soon as we get a hit, instead

hits.append(N)

and do the same for the following blocks. At the end of the function replace "return None" by "return hits".

Then the calling function merges the lists of hits.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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