Skip to content

Commit

Permalink
MAINT: get_config_from_file -> load_config_from_file (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oddant1 authored Jul 18, 2024
1 parent efac9fc commit e5bd28e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions q2cli/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,14 +509,14 @@ def __call__(self, **kwargs):
with qiime2.util.redirected_stdio(stdout=log, stderr=log):
if parallel:
from qiime2.sdk.parallel_config import \
(get_config_from_file, ParallelConfig)
(load_config_from_file, ParallelConfig)

action = action.parallel
if parallel_config_fp is None:
parallel_config = ParallelConfig()
else:
config, mapping = \
get_config_from_file(parallel_config_fp)
load_config_from_file(parallel_config_fp)
parallel_config = ParallelConfig(config, mapping)

with parallel_config:
Expand Down

0 comments on commit e5bd28e

Please sign in to comment.