SELF is: <gresq.dashboard.query_2_0.query_2_0.RamanDisplayTab object at 0x7f58f4585790>
Model is: <Experiment(id=19)>
trying to print id 19
raman_files ar [<RamanFile(id=1,experiment_id=19,raman_analyses=[<RamanAnalysis(id=1)>])>]
ERROR:gresq.util.util:Traceback (most recent call last):
File "/home/dadams/devel/GSAMain/src/gresq/dashboard/query_2_0/query_2_0.py", line 783, in setData
value = getattr(model, field)
AttributeError: 'list' object has no attribute 'gp_to_g'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dadams/devel/GSAMain/src/gresq/util/util.py", line 58, in wrapper
return func(*args, **kwargs)
File "/home/dadams/devel/GSAMain/src/gresq/dashboard/query_2_0/query_2_0.py", line 1255, in update
self.weighted_values.setData(raman_analysis)
File "/home/dadams/devel/GSAMain/src/gresq/dashboard/query_2_0/query_2_0.py", line 787, in setData
print(type(value), e)
UnboundLocalError: local variable 'value' referenced before assignment
Traceback (most recent call last):
File "/home/dadams/devel/GSAMain/src/gresq/dashboard/query_2_0/query_2_0.py", line 783, in setData
value = getattr(model, field)
AttributeError: 'list' object has no attribute 'gp_to_g'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dadams/devel/GSAMain/src/gresq/util/util.py", line 58, in wrapper
return func(*args, **kwargs)
File "/home/dadams/devel/GSAMain/src/gresq/dashboard/query_2_0/query_2_0.py", line 1255, in update
self.weighted_values.setData(raman_analysis)
File "/home/dadams/devel/GSAMain/src/gresq/dashboard/query_2_0/query_2_0.py", line 787, in setData
print(type(value), e)
UnboundLocalError: local variable 'value' referenced before assignment
Describe the bug
To Reproduce
Expected behavior
Screenshots
Additional context