Skip to content

Commit

Permalink
Merge pull request #37 from LCOGT/update/hackathon-feedback
Browse files Browse the repository at this point in the history
indexing fix
  • Loading branch information
LTDakin authored Oct 4, 2024
2 parents 92b7a11 + b436e71 commit 55d5395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datalab/datalab_session/data_operations/normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def operate(self):
median = np.median(image)
normalized_image = image / median

output = create_output(self.cache_key, normalized_image, index=index, comment=f'Product of Datalab Normalization on file {input[index]["basename"]}')
output = create_output(self.cache_key, normalized_image, index=index, comment=f'Product of Datalab Normalization on file {input[index-1]["basename"]}')
output_files.append(output)
self.set_operation_progress(0.5 + index/len(image_data_list) * 0.4)

Expand Down

0 comments on commit 55d5395

Please sign in to comment.