Minor issue with (presumably) minor fix.
The DelayNode in pywr.nodes is assigning the FlowDelayParameter the name param_name = "{} - delay parameter".format(name) which is causing the following:
NaturalNameWarning: object name is not a valid Python identifier: 'delay_<name> - delay parameter'; it does not match the pattern ``^[a-zA-Z_][a-zA-Z0-9_]*$``; you will not be able to use natural naming to access this object; using ``getattr()`` will still work, though
It has been running perfectly fine, though. Cheers.
Minor issue with (presumably) minor fix.
The DelayNode in
pywr.nodesis assigning the FlowDelayParameter the nameparam_name = "{} - delay parameter".format(name)which is causing the following:NaturalNameWarning: object name is not a valid Python identifier: 'delay_<name> - delay parameter'; it does not match the pattern ``^[a-zA-Z_][a-zA-Z0-9_]*$``; you will not be able to use natural naming to access this object; using ``getattr()`` will still work, thoughIt has been running perfectly fine, though. Cheers.