Commit 0d31a883 authored by lopezaguilar's avatar lopezaguilar
Browse files

Resolve the Tag problem to identify x_x_x or x_x numbers in the spec

parent 719d4d46
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -560,7 +560,7 @@ class GenerateRobotData:
        #     pics = f'PICS_{tags[0]}'
        #     pics = f'PICS_{tags[0]}'
        #
        #
        # return reference, pics
        # return reference, pics
        aux = [x for x in tags if match(pattern=r'^(\d+_\d+_\d+)', string=x)]
        aux = [x for x in tags if match(pattern=r'^(\d+_\d+_\d+)|^(\d+_\d+)', string=x)]


        if len(aux) == 0:
        if len(aux) == 0:
            raise Exception(
            raise Exception(