Skip to content
Snippets Groups Projects
Commit 31d52921 authored by Reto Tschannen's avatar Reto Tschannen
Browse files

chore:tried fixing flake8 errors

parent a4b6e928
No related branches found
No related tags found
1 merge request!13feat: add function to calculate mean and variance
Pipeline #13849 failed
"""Calculates mean and the variance for a given gene accross all cells."""
import csv import csv
from glob import glob from glob import glob
import io import io
...@@ -21,6 +23,7 @@ def mean_variance(filepath: str, output_dir: str = os.getcwd()+'/') -> str: ...@@ -21,6 +23,7 @@ def mean_variance(filepath: str, output_dir: str = os.getcwd()+'/') -> str:
Raises: Raises:
ValueError: If there are no files in directory ValueError: If there are no files in directory
""" """
# Open each file in the input directory, raises error if no file is found # Open each file in the input directory, raises error if no file is found
files = [file for file in glob(filepath)] files = [file for file in glob(filepath)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment