Skip to content

Commit

Permalink
rename old references to cblaster in main
Browse files Browse the repository at this point in the history
  • Loading branch information
gamcil committed Jul 16, 2021
1 parent 58a6616 commit 18aaa25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synthaser/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def main():
if args.command in ("getseq", "getdb", "search"):
# Set up mandatory Entrez params
cfg = config.get_config_parser()
Entrez.email = cfg["cblaster"].get("email", None)
Entrez.api_key = cfg["cblaster"].get("api_key", None)
Entrez.email = cfg["synthaser"].get("email", None)
Entrez.api_key = cfg["synthaser"].get("api_key", None)

if not Entrez.email and not Entrez.api_key:
raise IOError("No e-mail or NCBI API key found, please run synthaser config")
Expand Down

0 comments on commit 18aaa25

Please sign in to comment.