Sugar Transport v.2 does not work in slnova v2.0 but works in the flash version

Posted October 10, 2017 by codeforfun2017

Hello,

Trying to work with the slnoval: Sugar Transport Model: http://www.slnova.org/biograph/projects/2743/

but this is not working in V2.0.  It does works in the flash version

http://flash.slnova.org/biograph/projects/2743/

Do I need to make changes to get this to work?  One thing I did observe in v2.0 which is not the case in the flash version, is that you CANNOT have dangling code (eg: code blocks that aren't attached) otherwise the program does not run.  I'm wondering if this is related.

Following is  js warning in  when running the project in slnova 2.0.  No such warning is received in the flash version. The observation is that nothing, happens when clicking on the widgets. Given this is a warning, not sure how relevant.

 

image

 

Thanks

 

Comments

Submitted by ilee on Thu, 10/12/2017 - 11:18 · Permalink

We are looking into this issue.

--Irene

Submitted by Daniel Wendel on Mon, 10/16/2017 - 11:21 · Permalink

Hi, this has been fixed! There were a few issues in the model that caused problems when we converted it to the new version, but I've fixed them and it seems to work great now. Let me know if you see anything else that isn't working!

--Daniel

Submitted by codeforfun2017 on Wed, 10/18/2017 - 23:29 · Permalink

Thank you all for your efforts in fixing the issues with the model after conversion.  There is still another issue.  The behavior is different given the following sequence.  Setup Glucose, Drink Soda, Add AT Proteins.   In the converted model, the glucose agents disappear while in the flash version, they do not. The expectation is that they will not disappear.

Submitted by Daniel Wendel on Tue, 10/24/2017 - 16:41 · Permalink

Good catch, thanks! The Flash version had a bug where it worked as you describe despite being coded the way the new version is! I changed the new version of the model to work as you described, which I think is the way the materials all assume as well. Let me know if you notice anything else wrong with it!

Submitted by codeforfun2017 on Wed, 10/25/2017 - 01:24 · Permalink

Hello,

Seems to be working.  Thanks!