tgen / tempe

A container focused and streamlined iteration of the Phoenix pipeline
GNU General Public License v3.0
1 stars 1 forks source link

Adding support for case where there aren't any readgroup level stats to push #66

Closed bryce-turner closed 9 months ago

bryce-turner commented 9 months ago

Caught this case when testing the recent changes on jsons that do not have any readgroup level information. Change log appears more complicated than reality - I added an if statement to check the length of READGROUPS objects and if greater than zero then we should have data to push. Then the readgroup loop block needed to be indented to be within the if statement.