On Mon, 5 Jun 2017 11:13:54 +0100, Paul Barry wrote:
> On 3 June 2017 at 15:42, Gary Barker wrote:
>
>> I have searched for a solution to this but have not found a suitable
>> example.
>>
>> The attached code generates this error: Traceback (most recent call last):
>> File "calcsignal.py", line
The value in existattn is a single element list. The single element is a
float, so just refer to it in your calculation, like so:
siglevfromexist = 34.8 + existattn[0]
Regards.
Paul.
On 3 June 2017 at 15:42, Gary Barker wrote:
> I have searched for a solution to this but have not found a
I have searched for a solution to this but have not found a suitable
example.
The attached code generates this error: Traceback (most recent call last):
File "calcsignal.py", line 7, in
siglevfromexist = 34.8 + existattn
TypeError: unsupported operand type(s) for +: 'float' and 'list'
Ho