Skip to content

Commit

Permalink
Merge pull request #107 from SBRG/avsastry-patch-1
Browse files Browse the repository at this point in the history
Update core.py
  • Loading branch information
avsastry authored Feb 28, 2022
2 parents 25c5814 + 9f30b6a commit ff46bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymodulon/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ def imodulons_with(self, gene):
"""

# Check that gene exists
if gene not in self.X.index:
if gene not in self.gene_names:
gene = self.name2num(gene)

return self.M.columns[self.M_binarized.loc[gene] == 1].to_list()
Expand Down

0 comments on commit ff46bcc

Please sign in to comment.