Skip to content

Deprecate Bio::EnsEMBL::DBSQL::GenomeContainer::get_total_length()

Marek Szuba requested to merge feature/deprecate_basepair_count into master

Created by: mkszuba

Description

Deprecate Bio::EnsEMBL::DBSQL::GenomeContainer::get_total_length()

Use case

Part of ENSINT-283. Web should stop using it already in e99 but let us play it safely on our end and follow the standard deprecation procedure.

Benefits

The first step towards removing a method known to provide incorrect information for certain species.

Possible Drawbacks

Test coverage will drop slightly (but will of course improve again once get_total_length() has been removed).

Testing

Have you added/modified unit tests to test the changes?

Yes, removed the test of get_total_length() from genomeContainer.t

If so, do the tests pass/fail?

They pass.

Have you run the entire test suite and no regression was detected?

Yes, no regression detected.

Merge request reports