Skip to content

Commit

Permalink
changed entrez id convert ot be string
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherMancuso committed Apr 3, 2024
1 parent 49d9f31 commit 3499a60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions geneplexus/_geneplexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ def _initial_id_convert(input_genes, file_loc, species):
try:
agene_int = int(agene)
if agene in all_entrez_genes:
convert_out.append([agene_int, agene_int])
convert_ids.append(agene_int)
convert_out.append([agene, agene])
convert_ids.append(agene)
else:
convert_out.append([agene_int, f"Not in Our List of {species} Entrez Genes"])
convert_out.append([agene, f"Not in Our List of {species} Entrez Genes"])
except ValueError:
converted_gene: Optional[str] = None
for anIDtype in convert_types:
Expand Down

0 comments on commit 3499a60

Please sign in to comment.