Skip to content

Allow uint32 & uint64 for Start & End positions? #55

@jeanmonet

Description

@jeanmonet

Hi, is there any reason not to allow uint32 & uint64, otherwise can we enable compatibility?

File anaconda/envs/bio12/lib/python3.12/site-packages/ncls/__init__.py:20, in NCLS(starts, ends, ids)
     [18](anaconda/envs/bio12/lib/python3.12/site-packages/ncls/__init__.py:18)     return NCLS32(starts.astype(np.int32), ends.astype(np.int32), ids)
     [19](anaconda/envs/bio12/lib/python3.12/site-packages/ncls/__init__.py:19) else:
---> [20](anaconda/envs/bio12/lib/python3.12/site-packages/ncls/__init__.py:20)     raise Exception("Starts/Ends not int64 or int32: " + str(starts.dtype))

Exception: Starts/Ends not int64 or int32: uint32

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