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.
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.