Skip to content

Inconsistent Class and Function Naming in test_sequence_analysis.py #1

Description

@YanCotta

Description:

The test file dna_sequence_analysis_tool/tests/test_sequence_analysis.py attempts to import and use a class named SequenceStatistics, but this class does not exist in the codebase. The functionality seems to be implemented within the SequenceAnalyzer and AdvancedSequenceAnalyzer classes. This causes the tests to fail and makes it difficult to verify the correctness of the sequence analysis functions.

To Reproduce:

Run the tests using pytest.

Observe the ImportError for SequenceStatistics.

Suggested Fix:

Refactor the tests in test_sequence_analysis.py to use the SequenceAnalyzer and AdvancedSequenceAnalyzer classes.

Ensure that all test cases correctly target the existing methods in the analysis module.

Remove the incorrect import of SequenceStatistics.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions