Changeset 2665 for trunk


Ignore:
Timestamp:
10/15/12 15:52:34 (12 years ago)
Author:
Malte Marquarding
Message:

fixed namespace error on boost::python::arg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python_Scantable.cpp

    r2645 r2665  
    7676    .def("_setfeedtype", &ScantableWrapper::setFeedType)
    7777    .def("_getspectrum", &ScantableWrapper::getSpectrum,
    78          (arg("whichrow")=0, arg("poltype")=std::string("")) )
     78         (boost::python::arg("whichrow")=0,
     79          boost::python::arg("poltype")=std::string("")) )
    7980    .def("poltype", &ScantableWrapper::getPolType )
    8081    .def("get_column_names", &ScantableWrapper::columnNames)
     
    100101    .def("_getparangle", &ScantableWrapper::getParAngle,
    101102         (boost::python::arg("whichrow")=0) )
    102     //.def("_gettime", &ScantableWrapper::getTime,
    103     //     (boost::python::arg("whichrow")=0) )
    104103    .def("_gettime", &ScantableWrapper::getTime,
    105104         (boost::python::arg("whichrow")=0,
     
    118117          boost::python::arg("unflag")=false) )
    119118    .def("_save",  &ScantableWrapper::makePersistent)
    120     //.def("_summary",  &ScantableWrapper::summary)
    121119    .def("_summary",  &ScantableWrapper::summary,
    122120         (boost::python::arg("filename")=""))
    123121    .def("_list_header",  &ScantableWrapper::listHeader)
    124     //.def("_getrestfreqs",  &ScantableWrapper::getRestFrequencies)
    125122    .def("_getrestfreqs",  &ScantableWrapper::getRestFrequency)
    126123    .def("_setrestfreqs",  &ScantableWrapper::setRestFrequencies)
Note: See TracChangeset for help on using the changeset viewer.