Skip to content

Commit

Permalink
fixed bug around series data
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Jan 16, 2025
1 parent 416451b commit 5b4ce17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pacs_retrieve.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
)
logger.remove()
logger.add(sys.stderr, format=logger_format)
__version__ = '1.0.3'
__version__ = '1.0.4'

DISPLAY_TITLE = r"""
_ _ _
Expand Down Expand Up @@ -113,7 +113,7 @@ def main(options: Namespace, inputdir: Path, outputdir: Path):
retrieve_response = pfdcm.retrieve_pacsfiles(directive, options.PACSurl, options.PACSname)

LOG(f"response: {pprint.pformat(retrieve_response)}")
op_json_file_path = os.path.join(options.outputdir, f"{series["AccessionNumber"]}_retrieve.json")
op_json_file_path = os.path.join(options.outputdir, f"{data[0]["AccessionNumber"]}_retrieve.json")
else:

for series in data:
Expand Down

0 comments on commit 5b4ce17

Please sign in to comment.