Skip to content

Commit

Permalink
Merge pull request #145 from Nishchal-007/dev
Browse files Browse the repository at this point in the history
Issue with png-extraction cmd run
  • Loading branch information
pradeeban authored Jun 28, 2021
2 parents 2736139 + 114f318 commit 29f3711
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 29f3711

Please sign in to comment.