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
3734using namespace SCIRun ::Modules::Python;
@@ -42,8 +39,6 @@ using namespace SCIRun::Core::Thread;
4239using namespace SCIRun ::Core::Algorithms;
4340using namespace SCIRun ::Core::Algorithms::Python;
4441
45- // ALGORITHM_PARAMETER_DEF(Python, PollingIntervalMilliseconds);
46- // ALGORITHM_PARAMETER_DEF(Python, NumberOfRetries);
4742ALGORITHM_PARAMETER_DEF (Python, PythonCode);
4843
4944const ModuleLookupInfo InterfaceWithPython::staticInfo_ (" InterfaceWithPython" , " Python" , " SCIRun" );
@@ -62,7 +57,7 @@ InterfaceWithPython::InterfaceWithPython() : Module(staticInfo_)
6257void 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
6863void InterfaceWithPython::execute ()
0 commit comments