Skip to content

add_loom function in loompy.py depends on internally deprecated batch_scan_layers #166

@mcarrara-bioinfo

Description

@mcarrara-bioinfo

Hello,
I am currently using the loompy python module to combine together multiple loom files into one using loompy.combine.

The function calls internally add_loom which, in turn, calls batch_scan_layers (Line 471)
batch_scan_layers is unfortunately hardcoded as deprecated.
Any call of loompy.combine on a list of more than 2 loom files works as intended but reports the following warning for each processed file:

WARNING:root:╭── 'batch_scan_layers' is deprecated. Use 'scan' instead
WARNING:root:╰──> at <my_conda_env>/lib/python3.8/site-packages/loompy/loompy.py, line 465

Would it be possible to update add_loom as suggested by the warning in order to avoid cluttered output and possible future breakage of the function?

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