When the user adds a ModelDataPair, e.g. c->addModel(Atomic, "3dpw.pdb");, c->addModel(Xray, "3dpw.mtz"); or c->addModelDataPair(Atomic, "3dpw.pdb", Xray, "3dpw.mtz") then the code creates a new ModelDataPair and stores it in the Collection. It would be great if these functions could be modified so instead of returning void, it returns the ModelDataPair * pointer so the user can make further changes to the ModelDataPair object in their own code.
When the user adds a ModelDataPair, e.g.
c->addModel(Atomic, "3dpw.pdb");
,c->addModel(Xray, "3dpw.mtz");
orc->addModelDataPair(Atomic, "3dpw.pdb", Xray, "3dpw.mtz")
then the code creates a newModelDataPair
and stores it in theCollection
. It would be great if these functions could be modified so instead of returningvoid
, it returns theModelDataPair *
pointer so the user can make further changes to theModelDataPair
object in their own code.