populationgenomics / tob-wgs

Tasmanian Ophthalmic Biobank Whole Genome Sequencing Project
MIT License
0 stars 0 forks source link

Update logic in append_dictionaries() #175

Closed amyminiter closed 4 months ago

amyminiter commented 4 months ago

Bug fix. Updated aggregation of two DefaultDicts in the function append_dictionaries().

Using append() added an unnecessary extra layer of lists, which later makes the assay_id unreadable in a nested list. Updating extend avoids this additional layer.