Skip to content

Add tests for MSAManager #178

@marcuscollins

Description

@marcuscollins

This class is currently untested, but is a critical piece of infrastructure.

We should test the following (presumably with a mock for the actual API)

  1. it calls _compute_msa when not all the required files are present.
  2. _compute_msa calls the correct API
  3. _compute_msa correctly writes out the .a3m and .csv files and they contain the same output (see _validate_msa_cache_contents in msa.py for some good checks, on branch fix-path-serialization-bug if it hasn't yet been merged.
  4. It correctly creates a cache directory, or uses one that is specified (test both)
  5. the hash function returns the correct values for the same ordered set of sequences

Metadata

Metadata

Labels

P0Highest priority work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions