Skip to content

benchmarking issue #433

@AO33

Description

@AO33

I am running a benchmark analysis using 'pheval-utils benchmark --run-yaml ...' command and I recieve the following error

[2025-12-05 18:00:19] [INFO] [benchmark.py:29] - Analysing results in .../pstore_0.1.25_phenio100_merged_preliminary/pheval_gene_results
[2025-12-05 18:00:19] [INFO] [rank_stats.py:166] - Generating ranking statistics for phenio100...
[2025-12-05 18:22:18] [INFO] [binary_classification_curves.py:125] - Calculating ROC and Precision-Recall metrics
Traceback (most recent call last):
File ".../bin/pheval-utils", line 7, in
sys.exit(pheval_utils())
File ".../python3.11/site-packages/polars/lazyframe/frame.py", line 2422, in collect
return wrap_df(ldf.collect(engine, callback))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: file name contained an unexpected NUL byte: ... (set POLARS_VERBOSE=1 to see full path)

All pheval results files within this directory are able to be read into memory though without issue using polars (I can do this manually within a jupyter notebook just fine)... So maybe something to do with how pheval benchmarking is dealing with the filepaths? Not entirely sure here because this issue doesn't show up for some of the other runs that I have done

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