LectureFireSimulation
LectureFireSimulation copied to clipboard
fdsreader Module, DEVC data and meta information
In the section fdsreader Module, I get the following error message with fdsreader 1.2.1
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-43-88618739c2ea> in <module>
1 for i in devc:
----> 2 print(f"ID: {devc[i].id},\t quantity: {devc[i].quantity.quantity},\t position: {devc[i].position}")
AttributeError: 'Quantity' object has no attribute 'quantity'
for
for i in devc:
print(f"ID: {devc[i].id},\t quantity: {devc[i].quantity.quantity},\t position: {devc[i].position}")
Shouldn't it be?
for i in devc:
print(f"ID: {devc[i].id},\t quantity: {devc[i].quantity.name},\t position: {devc[i].position}")