My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 2: VBA_ReDisplay_sessions : Error "options" is undefined
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by mail.ale...@gmail.com, Oct 13, 2013
What steps will reproduce the problem?
1. Fit Extended RL model (6 sessions)
2. Try VBA_ReDisplay_sessions(posterior, out, {[1 2]}
3. Error :
>> VBA_ReDisplay_sessions(posterior, out, {[1 2]})
Deriving diagnostics ...??? Input argument "options" is undefined.

Error in ==> VBA_LMEH0 at 15
if options.extended

Error in ==> VBA_ReDisplay_sessions>getDiagnostics at 740
[LLH0] = VBA_LMEH0(y);

Error in ==> VBA_ReDisplay_sessions at 83
ud.diagnostics = getDiagnostics(posterior,out);
 
-> Proposed patch : 
VBA_ReDisplay_sessions.m
740c740
< [LLH0] = VBA_LMEH0(y, out.options);
---
> [LLH0] = VBA_LMEH0(y);

=> Makes the graphical output appear with summary tab (but other tabs won't show - see separate issue)

Toolbox updated on 2013-10-11
Matlab 7.10.0 (R2010a) 32bits
Debian 7.1 32bits

Oct 14, 2013
Project Member #1 jean.dau...@gmail.com
Dear Alex,
We have made some recent changes in VBA_ReDisplay.m, mainly related to diagnostics & Volterra kernels estimation. These changes are in the latest update of the toolbox.
However, VBA_ReDisplay_sessions.m did not benefit from these changes yet.
This means that although the patch you propose will work in the context of your (current) version of the toolbox, they are likely to break soon. 
So our suggestion is to apply your patch, and wait until we have fixed the (wider) issue before updating your version.
J.
 
Oct 15, 2013
#2 mail.ale...@gmail.com
Dear Jean,
Thanks for your prompt reply.
I will follow your advice.
Best,
Alex

Powered by Google Project Hosting