Skip to content

Commit

Permalink
Issue with png-extraction cmd run
Browse files Browse the repository at this point in the history
  • Loading branch information
Nishchal-007 committed Jun 28, 2021
1 parent b1ff95f commit 114f318
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/png-extraction/ImageExtractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,7 @@ def Execute(pickle_file, dicom_home, output_directory, print_images, print_only_
total = len(chunk)
stamp = time.time()
for i in range(len(filedata)):
res = extract_images(filedata, i, png_destination, flattened_to_level, failed, is16Bit)
# (fmap,fail_path,err) = out
fmap = res[1]
fail_path = res[0]
err = res[-1]
(fmap,fail_path,err) = extract_images(filedata, i, png_destination, flattened_to_level, failed, is16Bit)
if err:
count +=1
copyfile(fail_path[0],fail_path[1])
Expand Down

0 comments on commit 114f318

Please sign in to comment.