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

Re: [IMP-dev] cross module dependencies




On Dec 3, 2008, at 8:11 PM, Daniel Russel wrote:

Ben Webb wrote:
Daniel Russel wrote:

Thanks. I this case there would have been a circular dependency (misc
imports core and core imports misc). Does that add difficulties?


Definitely - that won't work. Can't you arrange for misc not to import
core? misc is intended to be standalone, while core is of general
utility to everyone, so it's fine for things to import core but
importing misc should be discouraged. Sounds like your class should go
in core in this case.

The core dependency on misc is just from needing to use the
transformation classes. These probably shouldn't stay in misc over the
long term anyway. The kernel is probably a more proper place, but
actively working on code in the kernel is rather too painful to be
considered.
Lets decide on a module for the transformation classes - it does not really make since to leave them in misc anyway. Either we'll create a geometry module or put it in core - what do you think?


_______________________________________________
IMP-dev mailing list

https://salilab.org/mailman/listinfo/imp-dev