Daniel - I prefer to wait with TransformationModifier till I can make the test_particles_transformation.py pass. In the meantime I added the new Rotation stiff (r903) On Nov 30, 2008, at 3:01 AM, Daniel Russel wrote:
> Might as well check in the new one as the build is all broken anyway. > The C++ stuff will build, only one of the misc tests will fail (and > perhaps not even that if you don't depend on being able to cast if > from TranformationModifier to SingletonModifier). > > On Nov 29, 2008, at 4:41 PM, Keren Lasker wrote: > >> ok. >> I think I'll just check in the transformation class with the old >> TransformationFunction and once it will be sort out I'll switch to >> TrasnformationModifier. >> >> On Nov 30, 2008, at 2:41 AM, Daniel Russel wrote: >> >>> It is in the core namespace. So on the C++ side you need "public >>> IMP::core::SingletonModifier". The python side doesn't work yet. I >>> asked Ben if he knows how to fix it, but haven't gotten a response. >>> >>> On Nov 29, 2008, at 4:31 PM, Keren Lasker wrote: >>> >>>> hi, >>>> Trying to implement misc.TransformationModifier that inherits from >>>> core.SingletonModifier >>>> >>>> #include "misc_exports.h" >>>> #include "internal/misc_version_info.h" >>>> ... >>>> #include "IMP/core/SingletonModifier.h" >>>> >>>> >>>> IMPMISC_BEGIN_NAMESPACE >>>> >>>> class IMPMISCEXPORT TransformationModifier : public >>>> SingletonModifier >>>> >>>> The compiler can not recognize SingletonModifier, specifically I >>>> get: >>>> g++ -pthread -o modules/misc/pyext/misc_wrap.os -c -g -fPIC -fno- >>>> strict-aliasing -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions >>>> -- >>>> param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC - >>>> Ibuild/include -I/usr/include/python2.5 modules/misc/pyext/ >>>> misc_wrap.cc >>>> In file included from build/include/IMP/misc.h:22, >>>> from modules/misc/pyext/misc_wrap.cc:3236: >>>> >>>> >>>> should I change something in the SConsript file of mics/include? >>>> >>>> thank you, >>>> Keren. >>>> _______________________________________________ >>>> IMP-dev mailing list >>>> IMP-dev@salilab.org >>>> https://salilab.org/mailman/listinfo/imp-dev >>> >>> _______________________________________________ >>> IMP-dev mailing list >>> IMP-dev@salilab.org >>> https://salilab.org/mailman/listinfo/imp-dev >> >> _______________________________________________ >> IMP-dev mailing list >> IMP-dev@salilab.org >> https://salilab.org/mailman/listinfo/imp-dev > > _______________________________________________ > IMP-dev mailing list > IMP-dev@salilab.org > https://salilab.org/mailman/listinfo/imp-dev