TypeError when creating FrProcData with python-ldas-tools-framecpp 2.6.10
I'm seeing a (new) TypeError
when trying to create FrProcData
objects using the new release of ldas-tools-framecpp-swig (2.6.10) in Python:
TypeError: in method 'new_FrProcData', argument 7 of type 'FrProcData::fShift_type'
Here's what used to happen with the previous framecpp/framecpp-swig package pair (2.7.0/2.6.9):
$ conda create --name __test --yes --quiet ldas-tools-framecpp=2.7.0 python-ldas-tools-framecpp=2.6.9
... blah blah blah ...
$ conda list --name __test framecpp
# packages in environment at /home/duncan.macleod/.conda/envs/__test:
#
# Name Version Build Channel
ldas-tools-framecpp 2.7.0 hc145dac_4 conda-forge
python-ldas-tools-framecpp 2.6.9 py39hd56b5f2_2 conda-forge
$ conda run --name __test python -c "
from LDAStools import frameCPP;
print(frameCPP.FrProcData('test', '', frameCPP.FrProcData.TIME_SERIES, 0, 0., 1., 0., 0., 0., 0.))
"
<LDAStools.frameCPP.FrProcData; proxy of <Swig Object of type 'boost::shared_ptr< FrProcData > *' at 0x7efd42844f90> >
and here's what happens now (2.7.1/2.6.10):
$ conda create --name __test --yes --quiet ldas-tools-framecpp=2.7.1 python-ldas-tools-framecpp=2.6.10
... blah blah blah ...
$ conda list --name __test framecpp
# packages in environment at /home/duncan.macleod/.conda/envs/__test:
#
# Name Version Build Channel
ldas-tools-framecpp 2.7.1 h7a4f57c_0 conda-forge
python-ldas-tools-framecpp 2.6.10 py39hde0f152_0 conda-forge
$ conda run --name __test python -c "
from LDAStools import frameCPP;
print(frameCPP.FrProcData('test', '', frameCPP.FrProcData.TIME_SERIES, 0, 0., 1., 0., 0., 0., 0.))
"
ERROR conda.cli.main_run:execute(33): Subprocess for 'conda run ['python', '-c', "from LDAStools import frameCPP; print(frameCPP.FrProcData('test', '', frameCPP.FrProcData.TIME_SERIES, 0, 0., 1., 0., 0., 0., 0.))"]' command failed. (See above for error)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/duncan.macleod/.conda/envs/__test/lib/python3.9/site-packages/LDAStools/frameCPP.py", line 1526, in __init__
_frameCPP.FrProcData_swiginit(self, _frameCPP.new_FrProcData(*args))
TypeError: in method 'new_FrProcData', argument 7 of type 'FrProcData::fShift_type'
Additional information:
Wrong number or type of arguments for overloaded function 'new_FrProcData'.
Possible C/C++ prototypes are:
FrProcData::FrProcData()
FrProcData::FrProcData(std::string const &,std::string const &,FrProcData::type_type,FrProcData::subType_type,FrProcData::timeOffset_type,FrProcData::tRange_type,FrProcData::fShift_type,FrProcData::phase_type,FrProcData::fRange_type,FrProcData::BW_type)