Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 169b6f8

Browse files
author
Weina Ji
committed
clang-format
1 parent c3897f3 commit 169b6f8

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

python/bindings.cpp

+2-5
Original file line numberDiff line numberDiff line change
@@ -695,18 +695,15 @@ PYBIND11_MODULE(_libsonata, m) {
695695
.def_readonly("mechanisms",
696696
&SimulationConfig::Conditions::mechanisms,
697697
DOC_SIMULATIONCONFIG(Conditions, mechanisms))
698-
.def("modifications",
699-
&SimulationConfig::Conditions::getModifications);
698+
.def("modifications", &SimulationConfig::Conditions::getModifications);
700699

701700

702701
py::enum_<SimulationConfig::Conditions::SpikeLocation>(conditions, "SpikeLocation")
703702
.value("soma", SimulationConfig::Conditions::SpikeLocation::soma)
704703
.value("AIS", SimulationConfig::Conditions::SpikeLocation::AIS);
705704

706705
py::class_<SimulationConfig::ModificationBase> modificationBase(simConf, "ModificationBase");
707-
modificationBase
708-
.def_readonly("name",
709-
&SimulationConfig::ModificationBase::name)
706+
modificationBase.def_readonly("name", &SimulationConfig::ModificationBase::name)
710707
.def_readonly("node_set",
711708
&SimulationConfig::ModificationBase::nodeSet,
712709
DOC_SIMULATIONCONFIG(ModificationBase, nodeSet))

src/config.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ void parseConditionsModifications(const nlohmann::json& it,
619619
return;
620620
}
621621
if (!sectionIt->is_array()) {
622-
throw SonataError("`modifications` must be an array");
622+
throw SonataError("`modifications` must be an array");
623623
}
624624
buf.reserve(sectionIt->size());
625625

0 commit comments

Comments
 (0)