Skip to content

Commit

Permalink
Merge pull request #149 from sustrev/main
Browse files Browse the repository at this point in the history
E2E slice ordering adjustment
  • Loading branch information
marksgraham authored Nov 3, 2024
2 parents 1bc6422 + f43c121 commit 1de10a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oct_converter/readers/e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def _make_lut():
volume_string = "{}_{}_{}".format(
chunk.patient_db_id, chunk.study_id, chunk.series_id
)
slice_id = int(chunk.slice_id / 2) - 1
slice_id = int(chunk.slice_id / 2)
contour_name = f"contour{contour_data.id}"
try:
raw_volume = np.frombuffer(
Expand Down Expand Up @@ -264,7 +264,7 @@ def _make_lut():

if volume_string in volume_array_dict.keys():
volume_array_dict[volume_string][
int(chunk.slice_id / 2) - 1
int(chunk.slice_id / 2)
] = image
else:
# try to capture these additional images
Expand Down

0 comments on commit 1de10a1

Please sign in to comment.