Skip to content

Commit

Permalink
fixed run and configure options
Browse files Browse the repository at this point in the history
  • Loading branch information
Reza committed Sep 12, 2024
1 parent 449f630 commit 779f685
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pyalfe/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,10 @@ def _run(

if config:
container.config.from_ini(config)
options = container.config.options
else:
options = {}
container.config.from_dict({'options': {}})

options = container.config.options

if input_dir:
options.input_dir = input_dir
Expand Down Expand Up @@ -414,11 +415,10 @@ def _process_dicom(

if config:
container.config.from_ini(config)
options = container.config.options
else:
options = {}
container.config.from_dict({'options': {}})

print(options)
options = container.config.options

options.dicom_dir = dicom_dir

Expand Down

0 comments on commit 779f685

Please sign in to comment.