Skip to content

Commit

Permalink
SimulationConfig: remove amp_end from pulse input
Browse files Browse the repository at this point in the history
  • Loading branch information
WeinaJi committed Jul 1, 2024
1 parent c1e6f17 commit 75e2801
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions include/bbp/sonata/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,6 @@ class SONATA_API SimulationConfig
struct InputPulse: public InputBase {
/// The amount of current initially injected (nA)
double ampStart{};
/// The final current when a stimulus concludes (nA)
double ampEnd{};
/// The length of time each pulse lasts (ms)
double width{};
/// The frequency of pulse trains (Hz)
Expand Down
3 changes: 0 additions & 3 deletions python/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -844,9 +844,6 @@ PYBIND11_MODULE(_libsonata, m) {
.def_readonly("amp_start",
&SimulationConfig::InputPulse::ampStart,
DOC_SIMULATIONCONFIG(InputPulse, ampStart))
.def_readonly("amp_end",
&SimulationConfig::InputPulse::ampEnd,
DOC_SIMULATIONCONFIG(InputPulse, ampEnd))
.def_readonly("width",
&SimulationConfig::InputPulse::width,
DOC_SIMULATIONCONFIG(InputPulse, width))
Expand Down
1 change: 0 additions & 1 deletion src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@ SimulationConfig::Input parseInputModule(const nlohmann::json& valueIt,
parseMandatory(valueIt, "amp_start", debugStr, ret.ampStart);
parseMandatory(valueIt, "width", debugStr, ret.width);
parseMandatory(valueIt, "frequency", debugStr, ret.frequency);
parseOptional(valueIt, "amp_end", ret.ampEnd, {ret.ampStart});
parseOptional(valueIt,
"represents_physical_electrode",
ret.representsPhysicalElectrode,
Expand Down

0 comments on commit 75e2801

Please sign in to comment.