Skip to content

Commit

Permalink
added some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
allison-li-1016 committed Nov 2, 2023
1 parent ba7c3bf commit bf6e61a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/arcade/patch/agent/cell/PatchCellCART.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ public void bindTarget(Simulation sim, PatchLocation loc, MersenneTwisterFast ra
}
}

Check failure on line 207 in src/arcade/patch/agent/cell/PatchCellCART.java

View workflow job for this annotation

GitHub Actions / checkstyle

[checkstyle] src/arcade/patch/agent/cell/PatchCellCART.java#L207 <com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck>

Code line has trailing spaces.
Raw output
/github/workspace/./src/arcade/patch/agent/cell/PatchCellCART.java:207:0: error: Code line has trailing spaces. (com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck)



//remove self
allAgents.remove(this);

Expand Down
4 changes: 4 additions & 0 deletions src/arcade/patch/agent/cell/PatchCellTissue.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ public PatchCellTissue(int id, int parent, int pop, CellState state, int age, in
// Set loaded parameters.
necroticFraction = parameters.getDouble("NECROTIC_FRACTION");
senescentFraction = parameters.getDouble("SENESCENT_FRACTION");

//In component, check if TCells present
//check if these values null
//double check if getInt fails at runtime for null values
carAntigens = parameters.getInt("CAR_ANTIGENS");
selfTargets = parameters.getInt("SELF_TARGETS");
}
Expand Down

0 comments on commit bf6e61a

Please sign in to comment.