Skip to content

Commit

Permalink
fix: detect correct separator
Browse files Browse the repository at this point in the history
  • Loading branch information
zietzm committed Aug 29, 2024
1 parent 20ae02a commit 6ec9b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maxgcp/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def fit_command(
):
"""Fit a MaxGCP phenotype to a target phenotype."""
logger.info("Fitting MaxGCP phenotype")
sep = "," if phenotypic_covariance_file.suffix == ".csv" else "\t"
sep = "," if genetic_covariance_file.suffix == ".csv" else "\t"
genetic_covariance_df = pd.read_csv(genetic_covariance_file, sep=sep, index_col=0)
sep = "," if phenotypic_covariance_file.suffix == ".csv" else "\t"
phenotypic_covariance_df = pd.read_csv(
Expand Down

0 comments on commit 6ec9b2d

Please sign in to comment.