Skip to content

submatrix command creates empty dists output when run on valid clustering output directory #97

Description

@the-alquemist

Description

The submatrix command appears to complete without errors, but generates an empty output. Specifically, the resulting submatrix/dists directory is empty and the generated log file contains little or no useful diagnostic information.

Clustering itself completes successfully, and all expected output files are present beforehand.


Environment

  • Pling version: 3.0.1
  • Installation method: conda
  • OS: Fedora 43

Workflow

1. Run clustering

pling cluster align <absolute_path/input_1> <absolute_path/output_1> --cores 14 --visualisation all --output_type both

Clustering completes successfully and produces expected outputs.

The output directory contains:

  • containment files
  • distance matrices
  • typing files
  • visualization outputs

Visualizations can also be served successfully via:

python -m http.server 8000 --bind 127.0.0.1

2. Run submatrix

pling submatrix <absolute_path/output_1> --cores 14

Observed Behavior

A submatrix directory is created inside the original clustering output directory, but:

  • submatrix/dists/ is empty
  • the generated log file contains almost no information
  • log reports the job as a successful operation
  • no explicit error message is shown

Expected Behavior

Expected the submatrix command to generate distance submatrices from the existing clustering output directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions