Skip to content

Commit

Permalink
Soma summation fix for SONATA simulations (#2647)
Browse files Browse the repository at this point in the history
- Both Cell/Soma SectionType should work
- BBP internal ticket: https://bbpteam.epfl.ch/project/issues/browse/BBPBGLIB-1107
  • Loading branch information
jorblancoa authored Jan 7, 2024
1 parent b045e50 commit 5a91ef5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/coreneuron/io/reports/report_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ VarsToReport ReportHandler::get_summation_vars_to_report(
if (report.section_type == SectionType::All) {
double* variable = report_variable + segment_id;
to_report.emplace_back(VarWithMapping(section_id, variable));
} else if (report.section_type == SectionType::Cell) {
} else if (report.section_type == SectionType::Cell ||
report.section_type == SectionType::Soma) {
summation_report.gid_segments_[gid].push_back(segment_id);
}
}
Expand Down

0 comments on commit 5a91ef5

Please sign in to comment.