Skip to content

Commit 31cb4d4

Browse files
committed
fix: do not build a list of None
Signed-off-by: Josh Loecker <joshloecker@icloud.com>
1 parent 038a5fe commit 31cb4d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main/como/rnaseq_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def zfpkm_plot(results: dict[str, _ZFPKMResult], *, output_png_dirpath: Path, pl
440440
subplot_titles: Whether to display facet titles (sample names).
441441
442442
"""
443-
to_concat: list[pd.DataFrame] = [None] * len(results) # type: ignore # ignoring because None is not of type pd.DataFrame
443+
to_concat: list[pd.DataFrame] = []
444444
for name, result in results.items():
445445
stddev: float = float(result.std_dev)
446446
x: npt.NDArray[float] = result.density.x.flatten()

0 commit comments

Comments
 (0)