Skip to content

Commit

Permalink
added inverted division stem cell types
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannetty committed Aug 5, 2024
1 parent c73c759 commit 3bc39be
Show file tree
Hide file tree
Showing 12 changed files with 529 additions and 15 deletions.
21 changes: 21 additions & 0 deletions setup/setupInvertOneStemDaughterStemDaughterBasal.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<set prefix="20240730">

Check failure on line 1 in setup/setupInvertOneStemDaughterStemDaughterBasal.xml

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] setup/setupInvertOneStemDaughterStemDaughterBasal.xml#L1 <com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck>

File does not end with a newline.
Raw output
/github/workspace/./setup/setupInvertOneStemDaughterStemDaughterBasal.xml:1:0: error: File does not end with a newline. (com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck)
<series name="testing" start="0" end="0"
ds="1" margin="0" height="1" length="100" width="100"
dt="1" ticks="200" interval="50">
<potts>
<potts.term id="volume" />
<potts.term id="adhesion" />
<potts.parameter term="adhesion" id="ADHESION" value="150" target="invert" />
</potts>
<agents>
<populations>
<population id="invert" class="flystem-invert-onestemdaughter-stemdaughterbasal" init="1" >
<population.parameter id="CRITICAL_VOLUME_MEAN" value="30" units="um^3" conversion="DS^-3" />
<population.parameter id="CRITICAL_VOLUME_STDEV" value="5" units="um^3" conversion="DS^-3" />
</population>
<population id="neuron" init="0">
</population>
</populations>
</agents>
</series>
</set>
25 changes: 25 additions & 0 deletions setup/setupInvertTwoStemDaughtersStemDaughterBasalOrBoth.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<set prefix="20240730">

Check failure on line 1 in setup/setupInvertTwoStemDaughtersStemDaughterBasalOrBoth.xml

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] setup/setupInvertTwoStemDaughtersStemDaughterBasalOrBoth.xml#L1 <com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck>

File does not end with a newline.
Raw output
/github/workspace/./setup/setupInvertTwoStemDaughtersStemDaughterBasalOrBoth.xml:1:0: error: File does not end with a newline. (com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck)
<series name="testing" start="0" end="0"
ds="1" margin="0" height="1" length="100" width="100"
dt="1" ticks="200" interval="50">
<potts>
<potts.term id="volume" />
<potts.term id="adhesion" />
<potts.parameter term="adhesion" id="ADHESION" value="150" target="invert2" />
</potts>
<agents>
<populations>
<population id="invert2" class="flystem-invert-twostemdaughters-stemdaughterbasalorboth" init="1" >
<population.parameter id="CRITICAL_VOLUME_MEAN" value="30" units="um^3" conversion="DS^-3" />
<population.parameter id="CRITICAL_VOLUME_STDEV" value="5" units="um^3" conversion="DS^-3" />
</population>
<population id="neuron" init="0">
</population>
<population id="wt" class="flystem-wt" init="1" >
<population.parameter id="CRITICAL_VOLUME_MEAN" value="30" units="um^3" conversion="DS^-3" />
<population.parameter id="CRITICAL_VOLUME_STDEV" value="5" units="um^3" conversion="DS^-3" />
</population>
</populations>
</agents>
</series>
</set>
2 changes: 1 addition & 1 deletion setup/setupMUDmutOneStemDaughterStemDaughterLeft.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<population.parameter id="CRITICAL_VOLUME_MEAN" value="30" units="um^3" conversion="DS^-3" />
<population.parameter id="CRITICAL_VOLUME_STDEV" value="5" units="um^3" conversion="DS^-3" />
</population>
<population id="neuron" class="flyneuronwt" init="0">
<population id="neuron" init="0">
</population>
</populations>
</agents>
Expand Down
2 changes: 1 addition & 1 deletion setup/setupMUDmutOneStemDaughterStemDaughterRandom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<population.parameter id="CRITICAL_VOLUME_MEAN" value="30" units="um^3" conversion="DS^-3" />
<population.parameter id="CRITICAL_VOLUME_STDEV" value="5" units="um^3" conversion="DS^-3" />
</population>
<population id="neuron" class="flyneuronwt" init="0">
<population id="neuron" init="0">
</population>
</populations>
</agents>
Expand Down
10 changes: 7 additions & 3 deletions setup/setupMudmutTwoStemDaughtersStemDaughterRandom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@
<potts>
<potts.term id="volume" />
<potts.term id="adhesion" />
<potts.parameter term="adhesion" id="ADHESION" value="150" target="mudmut" />
<potts.parameter term="adhesion" id="ADHESION" value="150" target="mudmut2" />
</potts>
<agents>
<populations>
<population id="mudmut" class="flystem-mudmut-twostemdaughters-stemdaughterrandom" init="1" >
<population id="mudmut2" class="flystem-mudmut-twostemdaughters-stemdaughterrandom" init="1" >
<population.parameter id="CRITICAL_VOLUME_MEAN" value="30" units="um^3" conversion="DS^-3" />
<population.parameter id="CRITICAL_VOLUME_STDEV" value="5" units="um^3" conversion="DS^-3" />
</population>
<population id="neuron" class="flyneuronwt" init="0">
<population id="neuron" init="0">
</population>
<population id="mudmut1" class="flystem-mudmut-onestemdaughter-stemdaughterrandom" init="0" >
<population.parameter id="CRITICAL_VOLUME_MEAN" value="30" units="um^3" conversion="DS^-3" />
<population.parameter id="CRITICAL_VOLUME_STDEV" value="5" units="um^3" conversion="DS^-3" />
</population>
</populations>
</agents>
Expand Down
4 changes: 2 additions & 2 deletions setup/setupWT.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
</potts>
<agents>
<populations>
<population id="flystem" class="flystemwt" init="1" >
<population id="flystem" class="flystem-wt" init="1" >
<population.parameter id="CRITICAL_VOLUME_MEAN" value="30" units="um^3" conversion="DS^-3" />
<population.parameter id="CRITICAL_VOLUME_STDEV" value="5" units="um^3" conversion="DS^-3" />
</population>
<population id="neuron" class="flyneuronwt" init="0">
<population id="neuron" init="0">
</population>
</populations>
</agents>
Expand Down
24 changes: 23 additions & 1 deletion src/arcade/potts/agent/cell/PottsCellContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,29 @@ private Cell convert(PottsCellFactory factory, Location location) {
null, null);
}
break;
case "flystemwt":
case "flystem-invert-onestemdaughter-stemdaughterbasal":
if (factory.popToRegions.get(pop)) {
cell = new PottsCellFlyStemInvert1StemBasal(id, parent, pop, state, age, divisions,

Check failure on line 194 in src/arcade/potts/agent/cell/PottsCellContainer.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellContainer.java#L194 <LineLength>

Line is longer than 100 characters (found 103).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellContainer.java:194:0: error: Line is longer than 100 characters (found 103). (LineLength)
location, true, parameters, criticalVolume, criticalHeight,
criticalRegionVolumes, criticalRegionHeights);
} else {
cell = new PottsCellFlyStemInvert1StemBasal(id, parent, pop, state, age, divisions,

Check failure on line 198 in src/arcade/potts/agent/cell/PottsCellContainer.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellContainer.java#L198 <LineLength>

Line is longer than 100 characters (found 103).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellContainer.java:198:0: error: Line is longer than 100 characters (found 103). (LineLength)
location, false, parameters, criticalVolume, criticalHeight,
null, null);
}
break;
case "flystem-invert-twostemdaughters-stemdaughterbasalorboth":
if (factory.popToRegions.get(pop)) {
cell = new PottsCellFlyStemInvert2StemBasalOrBoth(id, parent, pop, state, age, divisions,

Check failure on line 205 in src/arcade/potts/agent/cell/PottsCellContainer.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellContainer.java#L205 <LineLength>

Line is longer than 100 characters (found 109).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellContainer.java:205:0: error: Line is longer than 100 characters (found 109). (LineLength)
location, true, parameters, criticalVolume, criticalHeight,
criticalRegionVolumes, criticalRegionHeights);
} else {
cell = new PottsCellFlyStemInvert2StemBasalOrBoth(id, parent, pop, state, age, divisions,

Check failure on line 209 in src/arcade/potts/agent/cell/PottsCellContainer.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellContainer.java#L209 <LineLength>

Line is longer than 100 characters (found 109).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellContainer.java:209:0: error: Line is longer than 100 characters (found 109). (LineLength)
location, false, parameters, criticalVolume, criticalHeight,
null, null);
}
break;
case "flystem-wt":
if (factory.popToRegions.get(pop)) {
cell = new PottsCellFlyStemWT(id, parent, pop, state, age, divisions,
location, true, parameters, criticalVolume, criticalHeight,
Expand Down
67 changes: 67 additions & 0 deletions src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
package arcade.potts.agent.cell;

import java.util.EnumMap;
import arcade.core.agent.cell.CellState;
import arcade.core.env.location.Location;
import arcade.core.util.MiniBox;
import arcade.potts.agent.module.PottsModuleApoptosisSimple;
import arcade.potts.agent.module.PottsModuleAutosis;
import arcade.potts.agent.module.PottsModuleNecrosis;
import arcade.potts.agent.module.PottsModuleProliferationFlyStemOneThirdSplitBasalReturn;
import arcade.potts.agent.module.PottsModuleQuiescence;
import arcade.potts.util.PottsEnums.Region;
import arcade.potts.util.PottsEnums.State;
import ec.util.MersenneTwisterFast;

Check failure on line 14 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java#L14 <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck>

Wrong order for 'ec.util.MersenneTwisterFast' import.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java:14:1: error: Wrong order for 'ec.util.MersenneTwisterFast' import. (com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck)

public final class PottsCellFlyStemInvert1StemBasal extends PottsCell{

Check failure on line 16 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java#L16 <com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java:16:1: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck)

Check failure on line 16 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java#L16 <com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck>

'{' is not preceded with whitespace.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java:16:70: error: '{' is not preceded with whitespace. (com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck)

public static final int POTTS_CELL_FLY_NEURON_WT_POP = 2;

Check failure on line 18 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java#L18 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java:18:5: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck)

public PottsCellFlyStemInvert1StemBasal(int id, int parent, int pop, CellState state, int age, int divisions,

Check failure on line 20 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java#L20 <LineLength>

Line is longer than 100 characters (found 113).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java:20:0: error: Line is longer than 100 characters (found 113). (LineLength)

Check failure on line 20 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java#L20 <com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert1StemBasal.java:20:5: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck)
Location location, boolean hasRegions, MiniBox parameters,
double criticalVolume, double criticalHeight,
EnumMap<Region, Double> criticalRegionVolumes,
EnumMap<Region, Double> criticalRegionHeights) {
super(id, parent, pop, state, age, divisions, location, hasRegions, parameters,
criticalVolume, criticalHeight, criticalRegionVolumes, criticalRegionHeights);
}

@Override
public PottsCell make(int newID, CellState newState, Location newLocation,
MersenneTwisterFast random) {
divisions++;
MiniBox newParameters = new MiniBox();
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/PottsCellFlyStemInvert1StemBasal.java

View workflow job for this annotation

GitHub Actions / checkstyle

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

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

@Override
void setStateModule(CellState newState) {
switch ((State) newState) {
case QUIESCENT:
module = new PottsModuleQuiescence(this);
break;
case PROLIFERATIVE:
module = new PottsModuleProliferationFlyStemOneThirdSplitBasalReturn(this);
break;
case APOPTOTIC:
module = new PottsModuleApoptosisSimple(this);
break;
case NECROTIC:
module = new PottsModuleNecrosis(this);
break;
case AUTOTIC:
module = new PottsModuleAutosis(this);
break;
default:
// State must be one of the above cases.
module = null;
break;
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
package arcade.potts.agent.cell;

import java.util.EnumMap;
import arcade.core.agent.cell.CellState;
import arcade.core.env.location.Location;
import arcade.core.util.MiniBox;
import arcade.potts.agent.module.PottsModuleApoptosisSimple;
import arcade.potts.agent.module.PottsModuleAutosis;
import arcade.potts.agent.module.PottsModuleNecrosis;
import arcade.potts.agent.module.PottsModuleProliferationFlyStemOneThirdSplitBasalReturn;
import arcade.potts.agent.module.PottsModuleQuiescence;
import arcade.potts.util.PottsEnums.Region;
import arcade.potts.util.PottsEnums.State;
import ec.util.MersenneTwisterFast;

Check failure on line 14 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L14 <com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck>

Wrong order for 'ec.util.MersenneTwisterFast' import.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:14:1: error: Wrong order for 'ec.util.MersenneTwisterFast' import. (com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck)

public final class PottsCellFlyStemInvert2StemBasalOrBoth extends PottsCell{

Check failure on line 16 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L16 <com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:16:1: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck)

Check failure on line 16 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L16 <com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck>

'{' is not preceded with whitespace.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:16:76: error: '{' is not preceded with whitespace. (com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck)

public static final int POTTS_STEM_INVERT_2_POP = 1;

Check failure on line 18 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L18 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:18:5: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck)
public static final int POTTS_CELL_FLY_NEURON_WT_POP = 2;

Check failure on line 19 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L19 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:19:5: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck)

Check failure on line 19 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L19 <com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck>

'VARIABLE_DEF' should be separated from previous line.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:19:5: error: 'VARIABLE_DEF' should be separated from previous line. (com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck)
public static final int POTTS_STEM_WT_POP = 3;

Check failure on line 20 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L20 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:20:5: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck)

Check failure on line 20 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L20 <com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck>

'VARIABLE_DEF' should be separated from previous line.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:20:5: error: 'VARIABLE_DEF' should be separated from previous line. (com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck)

public PottsCellFlyStemInvert2StemBasalOrBoth(int id, int parent, int pop, CellState state, int age, int divisions,

Check failure on line 22 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L22 <LineLength>

Line is longer than 100 characters (found 119).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:22:0: error: Line is longer than 100 characters (found 119). (LineLength)

Check failure on line 22 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L22 <com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:22:5: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck)
Location location, boolean hasRegions, MiniBox parameters,
double criticalVolume, double criticalHeight,
EnumMap<Region, Double> criticalRegionVolumes,
EnumMap<Region, Double> criticalRegionHeights) {
super(id, parent, pop, state, age, divisions, location, hasRegions, parameters,
criticalVolume, criticalHeight, criticalRegionVolumes, criticalRegionHeights);
}

@Override
public PottsCell make(int newID, CellState newState, Location newLocation,
MersenneTwisterFast random) {
divisions++;
// 25% chance of making PottsCellFlyStemWT, 25% chance of making PottsCellFlyStemInvert2StemRandom 50% chance of making FlyNeuronWT

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

View workflow job for this annotation

GitHub Actions / checkstyle

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

Line is longer than 100 characters (found 139).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:35:0: error: Line is longer than 100 characters (found 139). (LineLength)

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

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L35 <LineLengthTest>

Line is longer than 120 characters (found 139).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:35:0: error: Line is longer than 120 characters (found 139). (LineLengthTest)
if (random.nextDouble() < 0.25) {
System.out.println("Making new PottsCellFlyStemWT");
System.out.println("Inside make method, growth rate is " + this.getParameters().get("proliferation/CELL_GROWTH_RATE"));

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

View workflow job for this annotation

GitHub Actions / checkstyle

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

Line is longer than 100 characters (found 131).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:38:0: error: Line is longer than 100 characters (found 131). (LineLength)

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

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L38 <LineLengthTest>

Line is longer than 120 characters (found 131).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:38:0: error: Line is longer than 120 characters (found 131). (LineLengthTest)
return new PottsCellFlyStemWT(newID, id, POTTS_STEM_WT_POP, newState, age, divisions, newLocation,

Check failure on line 39 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L39 <LineLength>

Line is longer than 100 characters (found 110).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:39:0: error: Line is longer than 100 characters (found 110). (LineLength)
hasRegions, this.getParameters(), criticalVolume, criticalHeight,
criticalRegionVolumes, criticalRegionHeights);
} else if (random.nextDouble() < 0.5) {
System.out.println("Making new PottsCellFlyStemInvert2StemRandom");
System.out.println("Inside make method, growth rate is " + this.getParameters().get("proliferation/CELL_GROWTH_RATE"));

Check failure on line 44 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L44 <LineLength>

Line is longer than 100 characters (found 131).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:44:0: error: Line is longer than 100 characters (found 131). (LineLength)

Check failure on line 44 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L44 <LineLengthTest>

Line is longer than 120 characters (found 131).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:44:0: error: Line is longer than 120 characters (found 131). (LineLengthTest)
return new PottsCellFlyStemInvert2StemBasalOrBoth(newID, id, POTTS_STEM_INVERT_2_POP, newState, age, divisions, newLocation,

Check failure on line 45 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L45 <LineLength>

Line is longer than 100 characters (found 136).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:45:0: error: Line is longer than 100 characters (found 136). (LineLength)

Check failure on line 45 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L45 <LineLengthTest>

Line is longer than 120 characters (found 136).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:45:0: error: Line is longer than 120 characters (found 136). (LineLengthTest)
hasRegions, this.getParameters(), criticalVolume, criticalHeight,
criticalRegionVolumes, criticalRegionHeights);
} else {
System.out.println("Making new FlyNeuronWT");
MiniBox newParameters = new MiniBox();
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 55 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L55 <LineLength>

Line is longer than 100 characters (found 123).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:55:0: error: Line is longer than 100 characters (found 123). (LineLength)

Check failure on line 55 in src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java#L55 <LineLengthTest>

Line is longer than 120 characters (found 123).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemInvert2StemBasalOrBoth.java:55:0: error: Line is longer than 120 characters (found 123). (LineLengthTest)
hasRegions, newParameters, criticalVolume, criticalHeight,
criticalRegionVolumes, criticalRegionHeights);
}
}

@Override
void setStateModule(CellState newState) {
switch ((State) newState) {
case QUIESCENT:
module = new PottsModuleQuiescence(this);
break;
case PROLIFERATIVE:
module = new PottsModuleProliferationFlyStemOneThirdSplitBasalReturn(this);
break;
case APOPTOTIC:
module = new PottsModuleApoptosisSimple(this);
break;
case NECROTIC:
module = new PottsModuleNecrosis(this);
break;
case AUTOTIC:
module = new PottsModuleAutosis(this);
break;
default:
// State must be one of the above cases.
module = null;
break;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
public final class PottsCellFlyStemMUDMut2StemRandom extends PottsCell{

Check failure on line 16 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L16 <com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:16:1: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocTypeCheck)

Check failure on line 16 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L16 <com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck>

'{' is not preceded with whitespace.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:16:71: error: '{' is not preceded with whitespace. (com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck)

public static final int POTTS_CELL_FLY_NEURON_WT_POP = 2;

Check failure on line 18 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L18 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:18:5: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck)
public static final int POTTS_STEM_POP = 1;
public static final int POTTS_STEM_1_POP = 3;;

Check failure on line 19 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L19 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:19:5: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck)

Check failure on line 19 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L19 <com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck>

'VARIABLE_DEF' should be separated from previous line.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:19:5: error: 'VARIABLE_DEF' should be separated from previous line. (com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck)

Check failure on line 19 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L19 <com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck>

';' should be separated from previous line.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:19:50: error: ';' should be separated from previous line. (com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck)

public PottsCellFlyStemMUDMut2StemRandom(int id, int parent, int pop, CellState state, int age, int divisions,

Check failure on line 21 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L21 <LineLength>

Line is longer than 100 characters (found 114).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:21:0: error: Line is longer than 100 characters (found 114). (LineLength)

Check failure on line 21 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L21 <com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck>

Missing a Javadoc comment.
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:21:5: error: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck)
Location location, boolean hasRegions, MiniBox parameters,
Expand All @@ -42,7 +42,7 @@ public PottsCell make(int newID, CellState newState, Location newLocation,
} else if (random.nextDouble() < 0.5) {
System.out.println("Making new MUDMut1StemRandom");
System.out.println("Inside make method, growth rate is " + this.getParameters().get("proliferation/CELL_GROWTH_RATE"));

Check failure on line 44 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L44 <LineLength>

Line is longer than 100 characters (found 131).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:44:0: error: Line is longer than 100 characters (found 131). (LineLength)

Check failure on line 44 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L44 <LineLengthTest>

Line is longer than 120 characters (found 131).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:44:0: error: Line is longer than 120 characters (found 131). (LineLengthTest)
return new PottsCellFlyStemMUDMut1StemRandom(newID, id, pop, newState, age, divisions, newLocation,
return new PottsCellFlyStemMUDMut1StemRandom(newID, id, POTTS_STEM_1_POP, newState, age, divisions, newLocation,

Check failure on line 45 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L45 <LineLength>

Line is longer than 100 characters (found 124).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:45:0: error: Line is longer than 100 characters (found 124). (LineLength)

Check failure on line 45 in src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java#L45 <LineLengthTest>

Line is longer than 120 characters (found 124).
Raw output
/github/workspace/./src/arcade/potts/agent/cell/PottsCellFlyStemMUDMut2StemRandom.java:45:0: error: Line is longer than 120 characters (found 124). (LineLengthTest)
hasRegions, this.getParameters(), criticalVolume, criticalHeight,
criticalRegionVolumes, criticalRegionHeights);
} else {
Expand Down
Loading

0 comments on commit 3bc39be

Please sign in to comment.