Daniel Russel wrote: > I wanted some easy coding so I made a quick pass at removing ModelData.
It doesn't compile on my Mac: g++ -o kernel/src/OptimizerState.os -c -Wall -g -O3 -fvisibility=hidden -fPIC -DIMP_EXPORTS -DGCC_VISIBILITY -Ikernel/include -I/opt/local/include kernel/src/OptimizerState.cpp kernel/include/IMP/Optimizer.h: In member function 'void IMP::Optimizer::FloatIndexIterator::search_valid() const': kernel/include/IMP/Optimizer.h:78: error: 'boost::filter_iterator<IMP::internal::AttributeTable<IMP::Float, IMP::internal::FloatData>::IsAttribute, boost::counting_iterator<IMP::KeyIMP::Float, boost::random_access_traversal_tag, size_t> > IMP::Optimizer::FloatIndex::fk_' is private kernel/include/IMP/Optimizer.h:95: error: within this context kernel/include/IMP/Optimizer.h:77: error: '__gnu_cxx::__normal_iterator<IMP::Particle**, std::vector<IMP::Particle*, std::allocatorIMP::Particle* > > IMP::Optimizer::FloatIndex::p_' is private kernel/include/IMP/Optimizer.h:95: error: within this context
(etc.)
> Anyway, the tests pass. Check standards still bombs, so I don't know if > it passes that.
No, it doesn't. I don't know why it doesn't work on your system, because it runs fine on every machine I've tried it on. It's not like it's doing anything complicated, anyway - just reading a file line by line, and applying a handful of regexes. So I suspect you have a screwed up Python path or something on your machine.
Ben