Skip to content

Commit

Permalink
add default mongo_dicom_db
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Jul 31, 2024
1 parent 13f3983 commit 806b4d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/applications/SRAnonTool/CTP_DicomToText.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def extract_file(input, output, metadata_output=None, DicomTextArgs=None):
# Merge all the yaml dicts into one
cfg_dict = Merger([(list, ["append"]),(dict, ["merge"])],["override"],["override"]).merge(cfg_dict, yaml.safe_load(fd))

mongo_dicom_db = {}
if args.use_mongodb:
# For reading SRs
mongo_dicom_host = cfg_dict.get('MongoDatabases', {}).get('DicomStoreOptions',{}).get('HostName',{})
Expand Down

0 comments on commit 806b4d0

Please sign in to comment.