Bertinus / FLeCS

Flexible and Learnable Cell Simulator
MIT License
8 stars 1 forks source link

Simplification of Set classes #35

Closed Bertinus closed 1 year ago

Bertinus commented 1 year ago

In this PR, I fixed some issue related to bad interaction between the __setattr__ and __setitem__ methods that we were overridding for the Set classes. EdgeSet and NodeSet are now in the same file flecs/sets.py .

I also updated the mutation.py file. Bernouilli and Gaussian mutations are implemented.

cell_population.py has some minor changes to deal with a cyclic import issue.