Skip to content
Snippets Groups Projects
Commit f9079bff authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Fixed regex: match only tif files.

parent 7aa25829
No related branches found
No related tags found
No related merge requests found
......@@ -754,7 +754,7 @@ class StandardEoDataset(ImageDataset):
# list the spectral bands of the scene
bands = [os.path.join(dirpath, f) for f in files
if re.search('B\\dA|B\\d{1,2}', f)]
if re.search('B\\dA|B\\d{1,2}(.*).tif$', f)]
# get the ground truth mask
try:
......
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