Skip to content

fix LCA_Database __repr__ so that None is not displayed #1193

Open
@ctb

Description

@ctb

reported by @bluegenes -- right now the __repr__ relies on self.filename, which is sometimes set to None.

The fix is to check if self.filename is None, and if so, just display LCA_Database(). See file sourmash/lca/lca_db.py.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions