Skip to content

CLI to compare 2 kastore files #135

@hyanwong

Description

@hyanwong

A few times now I have wanted to work out why two almost identical tree sequences have differing file sizes. The most comprehensive way to do this is python3 -m kastore ls -l file.kastore on both files, followed by comparing the output. It would be lovely to have a command-line option that took 2 files and showed where the differences lay, perhaps showing a 3 column layout with file1, file2, difference, where arrays with the same name in file1 and file2 have the difference shown, and arrays only present in one of the other file are listed as "only in file1" or "only in file 2". Colouring the largest value in any row in red would be the cherry on the cake. None of this is essential, though.

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