You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry! After giving it the all clear I ran the tests and spotted an extra warning. If I just initialise a population of BVCs
Env = Environment()
Ag = Agent(Env)
BVCs = BoundaryVectorCells(Ag,params={'n':11})
it warns
UserWarning: Ignoring 'n' parameter value (11) that was passed, and setting number of BoundaryVectorCells neurons to 11, inferred from the cell arrangement parameter.
Sorry, I can dig into this in the morning but it might be quicker for you to solve.
The text was updated successfully, but these errors were encountered:
Oh yes! That's because I was relying on the non-equality to raise the warning. I removed it quickly after our discussion without realizing that the decision to create the warning fully depends on it. And I didn't rerun my test code 😬
I'll fix it! Thanks for noticing it!
colleenjg
added a commit
to colleenjg/RatInABox
that referenced
this issue
Feb 2, 2024
…atInABox-Lab#102.
Reintroduced an equality check for raising a warning if value of self.n was passed, but is reset internally in a VectorCells class.
Equality is checked if `cell_arrangement` does not end in `"manifold"` (i.e., `"diverging_manifold"` or `"uniform_manifold"`.
If `cell_arrangement` is `"random"` or a callable function, a warning is only raised if the value of self.n would actually change.
@colleenjg relating to PR #101
Sorry! After giving it the all clear I ran the tests and spotted an extra warning. If I just initialise a population of BVCs
it warns
Sorry, I can dig into this in the morning but it might be quicker for you to solve.
The text was updated successfully, but these errors were encountered: