[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IMP-dev] New 'core' module



If you plan on using or updating IMP, please note that as of r760 most
of the concrete functionality of IMP (e.g. restraints, scoring
functions, decorators) has moved from the kernel to a new 'core' module,
as previously discussed. If you do update IMP, be sure to run 'scons
test' to make sure everything works correctly. You will also need to
change any Python scripts to use the core module - e.g. rather than
import IMP
...
r = IMP.DistanceRestraint(...)
it is now
import IMP.core
...
r = IMP.core.DistanceRestraint(...)

For C++ code, use IMP::core::DistanceRestraint rather than
IMP::DistanceRestraint, #include <IMP/core/DistanceRestraint.h> rather
than <IMP/restraints/DistanceRestraint.h>, and link against libimp_core
in addition to the kernel in libimp.

Let me know if you run into any problems. Once the new code has worked
its way through the build system and has passed all of its tests, and I
have policies in the manual, I'll open up the repository for write access.

	Ben
-- 
                      http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
	- Sir Arthur Conan Doyle