|
|
@ -1259,7 +1259,7 @@ class MetadataFile(DataFile):
|
|
|
|
if not files:
|
|
|
|
if not files:
|
|
|
|
raise Failed(f"{self.type_str} Error: No Path Found for image_set")
|
|
|
|
raise Failed(f"{self.type_str} Error: No Path Found for image_set")
|
|
|
|
file_type, set_file, _, _ = files[0]
|
|
|
|
file_type, set_file, _, _ = files[0]
|
|
|
|
folder_name = os.path.splitext(os.path.basename(set_file))[0]
|
|
|
|
folder_name = os.path.splitext(os.path.basename(self.path))[0]
|
|
|
|
temp_data = self.load_file(file_type, set_file, images=True, folder=f"{folder_name}-sets/")
|
|
|
|
temp_data = self.load_file(file_type, set_file, images=True, folder=f"{folder_name}-sets/")
|
|
|
|
if "set" not in temp_data:
|
|
|
|
if "set" not in temp_data:
|
|
|
|
raise Failed('Image Set Error: Image sets must use the base attribute "set"')
|
|
|
|
raise Failed('Image Set Error: Image sets must use the base attribute "set"')
|
|
|
|