Skip to content

Commit

Permalink
fix pre commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoav Kan-Tor [email protected] committed Aug 21, 2024
1 parent 88e0432 commit 1e132a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gene_benchmark/descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def _get_ensemble(ens_data):
if "ensembl.gene" in ens_data.index and "ensembl" in ens_data.index:
if pd.isna(ens_data["ensembl.gene"]):
if isinstance(ens_data["ensembl"],list):
if isinstance(ens_data["ensembl"], list):
return ens_data["ensembl"][0]["gene"]
else:
warnings.warn(f"Unknown ensemble format {ens_data}")
Expand Down

0 comments on commit 1e132a2

Please sign in to comment.