Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CARTopiaX_Simulation_Analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"- **pandas** >= 1.3.0\n",
"- **matplotlib** >= 3.5.0\n",
"- **numpy** >= 1.21.0\n",
"- **os** - Built-in Python module (no installation required)\n",
"\n",
"\n",
"### Installation\n",
"\n",
Expand Down Expand Up @@ -145,9 +145,9 @@
"\n",
"Shows the absolute count of 5 tumor cell types:\n",
"- **Type 1** (Dark Red): Most Proliferative Tumor Cells\n",
"- **Type 2** (Red): Very Ploliferative Tumor Cells\n",
"- **Type 3** (Orange): Less Ploriferative Tumor Cells\n",
"- **Type 4** (Yellow): Least Ploriferative Tumor Cells\n",
"- **Type 2** (Red): Very Proliferative Tumor Cells\n",
"- **Type 3** (Orange): Less Proliferative Tumor Cells\n",
"- **Type 4** (Yellow): Least Proliferative Tumor Cells\n",
"- **Type 5** (Blue): Dead"
]
},
Expand Down
368 changes: 346 additions & 22 deletions README.md

Large diffs are not rendered by default.

Binary file added assets/images/CARTopiaXLogo_4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/dose_scale1_day0_num_cells.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/execution_times.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/model_outline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/shield.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/utils_aux.cc
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ void OutputSummary::operator()() {
const uint64_t current_step = scheduler->GetSimulatedSteps();

if (current_step % frequency_ == 0) {
std::ofstream file("output/final_data.csv", std::ios::app);
// Delete csv content current_step == 0 to, otherwise append mode
std::ofstream file("output/final_data.csv",
current_step == 0 ? std::ios::trunc : std::ios::app);
if (file.is_open()) {
if (current_step == 0) {
file
Expand Down