Skip to content

Commit 5c603e7

Browse files
author
Nalini Ganapati
committed
Address PR comments
1 parent 7105228 commit 5c603e7

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

examples/genomicsdb_query

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -583,9 +583,8 @@ def main():
583583

584584
# Check if there is room for row_tuples to be parallelized
585585
chunk_size = int(args.chunk_size)
586-
if len(configs) < args.nproc and chunk_size > 1:
587-
if row_tuples is None:
588-
row_tuples = parse_callset_json_for_split_row_ranges(callset_file, chunk_size)
586+
if len(configs) < args.nproc and chunk_size > 1 and row_tuples is None:
587+
row_tuples = parse_callset_json_for_split_row_ranges(callset_file, chunk_size)
589588
new_configs = []
590589
for idx_row, row_tuple in enumerate(row_tuples):
591590
for idx, config in enumerate(configs):

0 commit comments

Comments
 (0)