Make default cell class behavior consistent between implementations #123
Labels
category: sim
Related to the sim subpackages
package: patch
Related to the patch implementation
package: potts
Related to the potts implementation
size: small
Estimated size of issue or PR is small
type: feature
Improvement or additions to the code base
If you do not define a population
class
in the setup file when running thepatch
implementation, you get an error because a default cell class is not defined. Withpotts
, if a populationclass
is not defined, the series instance will use aDEFAULT_CELL_CLASS
instead:ARCADE/src/arcade/potts/sim/PottsSeries.java
Line 18 in 600b782
We should make the behavior consistent between the two implementations. Options:
patch
to support theDEFAULT_CELL_CLASS
behavior (with the default class astissue
)class
is defined in the setup file and remove theDEFAULT_CELL_CLASS
frompotts
I think (1) would be the preferred option, but I could see (2) making setup files more clear and would work if we have the appropriate error message.
The text was updated successfully, but these errors were encountered: