Skip to content

Commit 35f9f6b

Browse files
committed
Clean up
1 parent 7084fb5 commit 35f9f6b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Modules/Python/InterfaceWithPython.cc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@
2828

2929
#include <Modules/Python/InterfaceWithPython.h>
3030
#include <Modules/Python/PythonObjectForwarder.h>
31-
#include <Core/Datatypes/String.h>
32-
#include <Core/Datatypes/DenseMatrix.h>
3331
#include <Core/Python/PythonInterpreter.h>
34-
#include <boost/thread.hpp>
3532
#include <boost/algorithm/string.hpp>
3633

3734
using namespace SCIRun::Modules::Python;
@@ -42,8 +39,6 @@ using namespace SCIRun::Core::Thread;
4239
using namespace SCIRun::Core::Algorithms;
4340
using namespace SCIRun::Core::Algorithms::Python;
4441

45-
//ALGORITHM_PARAMETER_DEF(Python, PollingIntervalMilliseconds);
46-
//ALGORITHM_PARAMETER_DEF(Python, NumberOfRetries);
4742
ALGORITHM_PARAMETER_DEF(Python, PythonCode);
4843

4944
const ModuleLookupInfo InterfaceWithPython::staticInfo_("InterfaceWithPython", "Python", "SCIRun");
@@ -62,7 +57,7 @@ InterfaceWithPython::InterfaceWithPython() : Module(staticInfo_)
6257
void InterfaceWithPython::setStateDefaults()
6358
{
6459
auto state = get_state();
65-
state->setValue(Parameters::PythonCode, std::string("1 + 1"));
60+
state->setValue(Parameters::PythonCode, std::string("# Insert Python code here using the SCIRun API."));
6661
}
6762

6863
void InterfaceWithPython::execute()

0 commit comments

Comments
 (0)