Skip to content

Failing tests #48

@iracooke

Description

@iracooke

Hi,

I have been trying to install pyrho but am running into a persistent issue with failing tests. I've included a snippet of output from the test run to show the first failing test.

I am guessing that there is some library not installed properly but I believe I have followed the instructions in the readme pretty thoroughly.

My installation was done on Ubuntu 24.04.

Any hints as to what might be wrong would be much appreciated.

Also .. if you could provide a pre-built docker image that would be amazing

collected 24 items                                                                                                                           

pyrho/tests/tests.py ..F.FFFF..........FF..FF                                                                                          [100%]

================================================================== FAILURES ==================================================================
______________________________________________________________ test_downsample _______________________________________________________________

    def test_downsample():
>       start_table = downsample(
            read_hdf(joinpath(THIS_DIR, 'n_15_test_table.hdf'), 'ldtable'), 10
        )

pyrho/tests/tests.py:62: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
miniconda3/envs/my-pyrho-env/lib/python3.14/site-packages/pyrho/utility.py:146: in downsample
    curr_table = _single_vec_downsample(curr_table, curr_size)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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