Closed thalassemia closed 9 months ago
@thalassemia do you need a new release?
Yeah a new release would be great! As an aside, I want to try creating GitHub Actions tests for the MongoDB functionality. I'll do some testing and hopefully have a PR up in the next week or so.
Great idea to test mongoDB functionality. I'll merge and release this now, v1.6.2
When retrieving data from MongoDB, the
assemble_data
function expects each document to have adata
key. When a document is too large, thebreakdown_data
method splits the large nested dictionary into smaller sub-dictionaries, some of which may not have adata
key after the split. This PR ensures that all documents have adata
key, not just those that also have a correspondingtime
key. This fixes an issue where a very large configuration document (notime
key) is broken down into sub-dictionaries, one of which lacks thedata
key and breaksassemble_data
.By creating this pull request, I agree to the Contributor License Agreement, which is available in
CLA.md
at the top level of this repository.