Skip to content

Commit

Permalink
copy/paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
abrooks committed Apr 6, 2021
1 parent 86a0790 commit bde334e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/applications/SRAnonTool/CTP_DicomToText.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def extract_file(input, output):
# Passing a SOPInstanceUID would be handy but no point if not indexed.
mongodb_in = Mongo.SmiPyMongoCollection(mongo_dicom_host, mongo_dicom_user, mongo_dicom_pass)
mongodb_in.setImageCollection('SR')
mongodb_out = Mongo.SmiPyMongoCollection(mongo_dicom_host, mongo_dicom_user, mongo_dicom_pass)
mongodb_out = Mongo.SmiPyMongoCollection(mongo_semehr_host, mongo_semehr_user, mongo_semehr_pass)
mongodb_out.setSemEHRCollection('semehr_results')
# If it looks like a date YYYY/MM/DD or YYYYMMDD extract all on that day:
if re.match('^\\s*\\d+/\\d+/\\d+\\s*$|^\\s*\\d{8}\\s*$', args.input):
Expand Down

0 comments on commit bde334e

Please sign in to comment.