HLA-1542: Remove deprecated functions in align.py and related deprecated tests #2072
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves HLA-1542
This PR removes the deprecated function check_and_get_data from the align.py module. It also remove some deprecated tests that were used to verify the code. I have also removed a csv file and the conftest.py files as they are no longer used.
The check_and_get_data function was previously used for testing random datasets when vetting HAP products. It was used to download the relevant data if an ippsoot root (without any underscores) was given as an input to align.perform_align(); this functionality has been removed as it is no longer used, and can cause confusion as to whether a dataset has been overwritten.
The check_and_get_data function was still being used by one HAP regression test, test_apriori.py, but I have instead created a get_mast_data method in test_resources to retrieve the necessary data.
Checklist for maintainers
CHANGELOG.rst
within the relevant release sectionRegression test: Link