Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Nov 20, 2019
1 parent b2b1b36 commit e3d1831
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -299,7 +299,7 @@ SimulationSupportPythonWrapper::SimulationSupportPythonWrapper(PyObject *pModule

bool SimulationSupportPythonWrapper::valid(Simulation *pSimulation)
{
// Return whether the simulation is valid
// Return whether the given simulation is valid

if (!pSimulation->hasBlockingIssues()) {
CellMLSupport::CellmlFileRuntime *runtime = pSimulation->runtime();
Expand Down Expand Up @@ -366,7 +366,7 @@ bool SimulationSupportPythonWrapper::run(Simulation *pSimulation)

disconnect(pSimulation, nullptr, this, nullptr);

// Throw any error message that may have been generated
// Throw any error message that has been generated

if (!mErrorMessage.isEmpty()) {
throw std::runtime_error(mErrorMessage.toStdString());
Expand All @@ -388,7 +388,7 @@ bool SimulationSupportPythonWrapper::run(Simulation *pSimulation)

void SimulationSupportPythonWrapper::resetParameters(Simulation *pSimulation)
{
// Reset our model parameters
// Reset our simulation

pSimulation->reset();
}
Expand All @@ -397,7 +397,7 @@ void SimulationSupportPythonWrapper::resetParameters(Simulation *pSimulation)

void SimulationSupportPythonWrapper::clearResults(Simulation *pSimulation)
{
// Ask our widget to clear our results
// Clear our our widget to clear our results
// Note: we get the widget to do this as it needs to clear all associated
// graphs...

Expand Down

0 comments on commit e3d1831

Please sign in to comment.