Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add a text box to the OpenWorm muscle model sample? #23

Closed
slarson opened this issue Feb 8, 2015 · 2 comments
Closed

How to add a text box to the OpenWorm muscle model sample? #23

slarson opened this issue Feb 8, 2015 · 2 comments
Labels

Comments

@slarson
Copy link
Member

slarson commented Feb 8, 2015

We noticed the new OpenWorm muscle model geppetto sample is on live and had a chat about it today (check it out in the video of the hangout, conversation starts at 34:20)! Congrats on getting this out.

First question would be, having a look at the Geppetto.xml for this. If folks want to add a text box that has an explanation of this, how can this be done. A search of the documentation about widgets doesn't make it clear how to add such a box.

@tarelli
Copy link
Member

tarelli commented Feb 8, 2015

This is the culpable http://docs.geppetto.org/en/latest/popupW.html documentation ain't written yet :)
Adding the following will create a widget to put there a description.

G.addWidget(Widgets.POPUP);
Popup1.setMessage("Muscle model description");
Popup1.setName("Description");

As for the "cylinder" and "sphere" geometries they are coming from the NeuroML, see this for the cylinder: https://github.com/openworm/muscle_model/blob/master/NeuroML2/SingleCompMuscle.cell.nml#L13

As for the sphere it's an IAF cell without morphology that Geppetto represents as a Sphere.

@slarson
Copy link
Member Author

slarson commented Feb 8, 2015

Okay thanks. I've added a pull request to improve the documentation:

openworm/org.geppetto.docs#14

@slarson slarson closed this as completed Feb 8, 2015
slarson added a commit to slarson/org.geppetto.samples that referenced this issue Feb 8, 2015
@slarson slarson mentioned this issue Feb 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants