Skip to content
Snippets Groups Projects
Commit 50905eb3 authored by Remi Grousset's avatar Remi Grousset
Browse files

accepte de nouvelles extensions de fichiers image

parent 6c686959
No related branches found
No related tags found
No related merge requests found
......@@ -268,7 +268,10 @@ def browse_directories(directory, extracted_plot_data_csv):
selected_folder = directory.joinpath('delivery_package').joinpath('selected_images')
selected_folder.mkdir(parents=True, exist_ok=True)
for i in list_plot_folder:
print("WORKING ON PLOT: " + i.name + "...")
if isinstance(i, str):
print("WORKING ON PLOT: " + i + "...")
else:
print("WORKING ON PLOT: " + i.name + "...")
local_folder = directory.joinpath(i)
files = local_folder.glob("*.tif")
filenames = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment