Skip to content

Commit

Permalink
refactor get_config
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed Oct 8, 2024
1 parent e04dcb0 commit 8068810
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions preprocessing/nextclade/src/loculus_preprocessing/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def get_config(config_file: str | None = None) -> Config:
args = parser.parse_args()

config = Config()
if not args.backend_host: # Set here so we can use organism
config.backend_host = f"http://127.0.0.1:8079/{config.organism}"

# Use first config file present in order of precedence
config_file_path = (
Expand Down

0 comments on commit 8068810

Please sign in to comment.