Skip to content

Commit

Permalink
fix column name (accession -> PGS)
Browse files Browse the repository at this point in the history
  • Loading branch information
nebfield committed Feb 21, 2024
1 parent 7f7da3d commit 8b72fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgscatalog_utils/aggregate/aggregate_scores.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def _melt(df, value_name):
df = df.melt(
id_vars=["DENOM"],
value_name=value_name,
var_name="accession",
var_name="PGS",
ignore_index=False,
)
df["accession"] = df["accession"].str.replace(f"_{value_name}", "")
Expand Down

0 comments on commit 8b72fff

Please sign in to comment.