diff --git a/scripts/combine_counts.py b/scripts/combine_counts.py index 76fb78e..49a899b 100644 --- a/scripts/combine_counts.py +++ b/scripts/combine_counts.py @@ -1,10 +1,11 @@ import pandas as pd -if __name__ == '__main__': +if __name__ == "__main__": try: - snakmake + snakemake except NameError: snakemake = None if snakemake is not None: - embryo_counts = pd.concat[pd.read_csv(x) for x in snakemake.input] - embryo_counts.to_csv(snakemake.output) \ No newline at end of file + embryo_counts = pd.concat([pd.read_csv(x) for x in snakemake.input["counts"]]) + print(embryo_counts.shape) + embryo_counts.to_csv(snakemake.output["csv"])