Commit 90a853f8 authored by Alessia Marcolini's avatar Alessia Marcolini
Browse files

Fix tiles filename

parent 7cf535be
......@@ -36,7 +36,8 @@ for index, SVS in enumerate(svs_files): #for each svs file
try:
img = wsi.open_wsi(f'{SVS_DIR}/{SVS}') #open the image
prefix = f'{OUT_DIR}/{SVS}_'
filename_no_extension = ''.join(SVS.split('.svs'))
prefix = f'{OUT_DIR}/{filename_no_extension}_'
# prefix = f'{OUTDIR}/{SVS}/{SVS}' if you want to create a subfolder for each wsi
# get tissue box
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment