No dataset associated with a model
Posted on

Forums
Hi everybody!
It seems that OpenMx does not allow specifying a model without a dataset (see error message (1)). Sure, we will eventually need a dataset to run the model but at design time, I might not have a dataset yet. Only later in the program I might decide to load different datasets and associate them with the same model while at first the dataset reference could be NULL.
Shouldn't OpenMx allow NULL or some kind of empty dataset and test only within run() whether there is a valid dataset available?
(1) Error: The RAM objective does not have a dataset associated with it in model XXX
cheers,
Andy
Hi Andy, The function
Hi Andy,
The function "genericObjFunConvert", which generates the error message, I think is called only by mxRun(). Could you send us a copy of your script?
--Michael
Log in or register to post comments
In reply to Hi Andy, The function by mspiegel
Hi Michael! I rechecked my
Hi Michael!
I rechecked my script and you are absolutely right: OpenMx is doing everything alright!
sorry to bother you with my earlier post,
Andy
Log in or register to post comments