Bounds encapsulation problem
I'm trying to make a bunch of different Pathway objects with different bounds, however when I change the bounds in one Pathway object, it changes in the others as well. I think the problem is that each Pathway object has a reference to the DEFAULT_BOUNDS Bounds object instead of a copy of that object.
For example, if I have a Pathway object pp, and run the following commands:
pp.bounds.SetBounds('COOOO1', 2,7)
DEFAULT_BOUNDS.GetBoundTuple('COOOO1')
I will see that the DEFAULT_BOUNDS object has been modified.