You are here

No dataset associated with a model

3 posts / 0 new
Last post
brandmaier's picture
Offline
Joined: 02/04/2010 - 20:45
No dataset associated with a model

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

mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
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

brandmaier's picture
Offline
Joined: 02/04/2010 - 20:45
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