Skip to content

Commit

Permalink
Fix #27
Browse files Browse the repository at this point in the history
  • Loading branch information
gibsramen committed Aug 15, 2022
1 parent ab1c406 commit d85df06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/scripts/run_pca.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@

prop_exp = pca.explained_variance_ratio_
prop_exp = pd.Series(prop_exp, index=pc_cols)
prop_exp.name = "propotion_var_explained"
prop_exp.name = "proportion_var_explained"
prop_exp.to_csv(snakemake.output["prop_exp"], sep="\t", index=True)
logger.info(f"Saved explained variance to {snakemake.output['prop_exp']}")

0 comments on commit d85df06

Please sign in to comment.