Skip to content

Commit

Permalink
fixed bug in wt behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannetty committed Aug 7, 2024
1 parent f0fb88b commit e965089
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
</population>
<population id="neuron" init="0">
</population>
<population id="stemdaughter" init="0" class="flystem-symmetric-onestemdaughter-stemdaughterapical" />
</populations>
</agents>
</series>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public PottsCellFlyStemSymmetric2StemApicalOrBoth(int id, int parent, int pop, C
public PottsCell make(int newID, CellState newState, Location newLocation,
MersenneTwisterFast random) {
divisions++;
// 50% chance daughter is PottsCellFlyStemSymmetric1StemApical, 50% chance it is neuron
// 50% chance daughter is PottsCellFlyStemSymmetric2StemApical, 50% chance it is neuron
if (random.nextBoolean()) {
return new PottsCellFlyStemSymmetric2StemApicalOrBoth(newID, id, pop, newState, age, divisions, newLocation,

Check failure on line 35 in src/arcade/potts/agent/cell/PottsCellFlyStemSymmetric2StemApicalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemSymmetric2StemApicalOrBoth.java#L35 <LineLength>

Line is longer than 100 characters (found 120).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemSymmetric2StemApicalOrBoth.java:35:0: error: Line is longer than 100 characters (found 120). (LineLength)
hasRegions, this.getParameters(), criticalVolume, criticalHeight,
Expand Down
1 change: 1 addition & 0 deletions src/arcade/potts/agent/cell/PottsCellFlyStemWT.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public PottsCell make(int newID, CellState newState, Location newLocation,
for (String key : this.getParameters().getKeys()) {
newParameters.put(key, this.getParameters().get(key));
}
newParameters.put("proliferation/CELL_GROWTH_RATE", "0");
return new PottsCellFlyNeuronWT(newID, id, POTTS_CELL_FLY_NEURON_WT_POP, newState, age, divisions, newLocation,

Check failure on line 38 in src/arcade/potts/agent/cell/PottsCellFlyStemWT.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemWT.java#L38 <LineLength>

Line is longer than 100 characters (found 119).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemWT.java:38:0: error: Line is longer than 100 characters (found 119). (LineLength)
hasRegions, newParameters, criticalVolume, criticalHeight,
criticalRegionVolumes, criticalRegionHeights);
Expand Down

0 comments on commit e965089

Please sign in to comment.