Skip to content

Commit

Permalink
CELE-71 fix leading zeros in segmentation request
Browse files Browse the repository at this point in the history
  • Loading branch information
dvcorreia committed Aug 6, 2024
1 parent 2f3f57f commit 55f6922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/visualizer/backend/visualizer/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_tile(request, slice, x, y, zoom):

def get_seg(request, slice):
path = Path(
f"Dataset8_segmentation_withsoma_Mona_updated_20230127.vsseg_export_s{slice}.json"
f"Dataset8_segmentation_withsoma_Mona_updated_20230127.vsseg_export_s{int(slice):03d}.json"
)

full_path = Path(
Expand Down

0 comments on commit 55f6922

Please sign in to comment.