[ENSCORESW-2690]. Close only if we've really got an iterator, can get…
Created by: sanjay-boddu
… an empty hash ref under special cases.
Requirements
- Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion;
- Review the Ensembl contributing guidelines; remember in particular:
- do not modify code without testing for regression
- provide simple unit tests to test the changes
- the PR must not fail unit testing
Description
This is a request to cherry pick one of the commits from release/93 to release/92.
Use case
Describe the problem. Please provide an example representing the motivation behind the need for having these changes in place.
Benefits
If applicable, describe the advantages the changes will have.
Possible Drawbacks
If applicable, describe any possible undesirable consequence of the changes.
Testing
Have you added/modified unit tests to test the changes?
If so, do the tests pass/fail?
Have you run the entire test suite and no regression was detected?