Skip to content

Commit

Permalink
Fix bug in motif url contruction
Browse files Browse the repository at this point in the history
- Fixes aertslab#158
  • Loading branch information
cflerin committed Jul 17, 2020
1 parent 6b76c4f commit 107fa42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyscenic/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def add_motif_url(df: pd.DataFrame, base_url: str):
:param base_url:
:return:
"""
df[("Enrichment", COLUMN_NAME_MOTIF_URL)] = list(map(partial(urljoin, base=base_url), df.index.get_level_values(COLUMN_NAME_MOTIF_ID)))
df[("Enrichment", COLUMN_NAME_MOTIF_URL)] = list(map(partial(urljoin, base_url), df.index.get_level_values(COLUMN_NAME_MOTIF_ID)))
return df


Expand Down

0 comments on commit 107fa42

Please sign in to comment.