@@ -17,8 +17,8 @@ setup_pybind11(cfg)
1717#include " RAT2/RATMain_terminate.h"
1818#include " RAT2/RATMain_types.h"
1919#include " RAT2/makeSLDProfile.h"
20- #include " RAT /dylib.hpp"
21- #include " RAT /events/eventManager.h"
20+ #include " RAT2 /dylib.hpp"
21+ #include " RAT2 /events/eventManager.h"
2222#include " includes/defines.h"
2323#include " includes/functions.h"
2424
@@ -582,16 +582,24 @@ bayes_result : Rat.rat_core.OutputBayesResult
582582
583583py::tuple RATMain (const ProblemDefinition& problem_def, const Control& control)
584584{
585+ py::print (" RATMain: " , 1 );
585586 RAT::b_ProblemDefinition problem_def_struct = createProblemDefinitionStruct (problem_def);
587+ py::print (" RATMain: " , 2 );
586588 RAT::Controls control_struct = createControlsStruct (control);
587589 // Output
590+ py::print (" RATMain: " , 3 );
588591 RAT::Results results;
592+ py::print (" RATMain: " , 4 );
589593 RAT::BayesResults bayesResults;
590594 // Call the entry-point
595+ py::print (" RATMain: " , 5 );
591596 RAT::RATMain (&problem_def_struct, &control_struct, &results, &bayesResults);
592597 // Copy result to output
598+ py::print (" RATMain: " , 6 );
593599 auto out_problem_def = problemDefinitionFromStruct (problem_def_struct);
600+ py::print (" RATMain: " , 7 );
594601 out_problem_def.customFiles = problem_def.customFiles .attr (" copy" )();
602+ py::print (" RATMain: " , 8 );
595603 return py::make_tuple (out_problem_def,
596604 OutputResultFromStruct (results),
597605 OutputBayesResultsFromStruct (bayesResults));
0 commit comments