I've encountered an issue in SpatialKappa v2.1.1 when using Ubuntu 18.04 where assigning negative values to variables throws an error, which doesn't seem like the intended behaviour. Specifically this code reproduces the issues:
%var: 'a' -50 #returns error
%var: 'a' 0 - 50 # runs fine
%var: 'b' [exp] -5 #returns error
%var: 'b' [exp] (0 - 5) # runs fine
Doesn't seem like a big issue to fix and would be greatly appreciated, as when modeling species whose transition rates depend on [exp] (-'a'/'b') (where 'a' or 'b' can be other species) this issue causes some nuisance. Many thanks!
I've encountered an issue in SpatialKappa v2.1.1 when using Ubuntu 18.04 where assigning negative values to variables throws an error, which doesn't seem like the intended behaviour. Specifically this code reproduces the issues:
%var: 'a' -50 #returns error%var: 'a' 0 - 50 # runs fine%var: 'b' [exp] -5 #returns error%var: 'b' [exp] (0 - 5) # runs fineDoesn't seem like a big issue to fix and would be greatly appreciated, as when modeling species whose transition rates depend on
[exp] (-'a'/'b')(where 'a' or 'b' can be other species) this issue causes some nuisance. Many thanks!