Skip to content
Snippets Groups Projects
Commit a814de8a authored by hchauvet's avatar hchauvet
Browse files

Add abspath for stardist finding

parent 1aa69adc
No related branches found
No related tags found
No related merge requests found
......@@ -936,9 +936,8 @@ def run_processing(data_list, nom_sortie, MM_version=2, background='auto',
test_paths += [stardist_path]
for p in test_paths:
if os.path.exists(p):
if os.path.exists(os.path.abspath(p)):
startdist_path = p
break
print(f'Stardist folder: {stardist_path}')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment