Need to check what happens if no conditions are met --> resulting in no matching template
Traceback (most recent call last): File "/Users/jonathanbranan/code/Inex/inex.py", line 84, in <module> Inex() File "/Users/jonathanbranan/code/Inex/inex.py", line 69, in __init__ self.modifiedData = processData(self.data, dataTemplate, prd_instance_id=self.prdInstanceID,\ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/jonathanbranan/code/Inex/inexDataProcessing.py", line 11, in processData processedData.append(template(identifyUtype(row.get('Command')),\ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/jonathanbranan/code/Inex/inexDataModel.py", line 127, in dataTemplate return template ^^^^^^^^ UnboundLocalError: cannot access local variable 'template' where it is not associated with a value
Need to check what happens if no conditions are met --> resulting in no matching template
`Traceback (most recent call last):
File "/Users/jonathanbranan/code/Inex/inex.py", line 84, in <module>
Inex()
File "/Users/jonathanbranan/code/Inex/inex.py", line 69, in __init__
self.modifiedData = processData(self.data, dataTemplate, prd_instance_id=self.prdInstanceID,\
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jonathanbranan/code/Inex/inexDataProcessing.py", line 11, in processData
processedData.append(template(identifyUtype(row.get('Command')),\
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jonathanbranan/code/Inex/inexDataModel.py", line 127, in dataTemplate
return template
^^^^^^^^
UnboundLocalError: cannot access local variable 'template' where it is not associated with a value`
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Need to check what happens if no conditions are met --> resulting in no matching template
Traceback (most recent call last): File "/Users/jonathanbranan/code/Inex/inex.py", line 84, in <module> Inex() File "/Users/jonathanbranan/code/Inex/inex.py", line 69, in __init__ self.modifiedData = processData(self.data, dataTemplate, prd_instance_id=self.prdInstanceID,\ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/jonathanbranan/code/Inex/inexDataProcessing.py", line 11, in processData processedData.append(template(identifyUtype(row.get('Command')),\ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/jonathanbranan/code/Inex/inexDataModel.py", line 127, in dataTemplate return template ^^^^^^^^ UnboundLocalError: cannot access local variable 'template' where it is not associated with a value