Closed Yeqzids closed 1 year ago
Oops! That should read sim.particles[0].params['beta'] = 0.1. Working on moving the continuous integration tests to github to catch things like that. Thanks, I'll update the example
Thanks for the speedy response! Confirm that it's working now.
I'm following this example to set the beta by
sim.particles[0].beta = 0.1
But if I try to print
sim.particles[0].beta
, I get the error of "'Particle' object has no attribute 'beta'".If I follow this example instead and set beta by, e.g.
ps["p1"].params["beta"] = 0.1
, then all works as expected.Why does the first way not work -- did I miss something there?