Skip to content

Commit c053734

Browse files
committed
fix: chromosome None check
1 parent 3c94303 commit c053734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/batch/spark_prep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def _p5_partition_data(
321321
current_block_index = 0
322322
current_data_block = pd.DataFrame(columns=self.field_names)
323323

324-
if current_chromosome is not None:
324+
if current_chromosome:
325325
# We have a new chromosome to process.
326326
# We should now append new data to the chromosome buffer.
327327
current_data_block = pd.concat(

0 commit comments

Comments
 (0)