MetaCell / geppetto-scidash

Geppetto scidash extension
2 stars 1 forks source link

Test Granule cell model with neuronunit #470

Open ddelpiano opened 4 years ago

ddelpiano commented 4 years ago

hi @rgerkin we tried yesterday the neuroml-db parsing functionality with the Granule model and this works on scidash. We thought this might be a good candidate for the 2 models/tests present by default for new users, in case we will need:

rgerkin commented 4 years ago

@ddelpiano @gidili I think I can run it with a few changes (tested):

The fixes above are local, and I need to know where you want me to apply them. Should I branch off of the dash branch of NeuronUnit, or some tag that you are using? I want to only apply this narrow set of changes to whatever version of NeuronUnit you are using, but I'm not sure which one that is.

ddelpiano commented 4 years ago

Hi @rgerkin ,

We currently use neuronunit from a fork I made before the last release we made in the summer, currently we install this from the tag 4.0.0 as per requirements.txt.

Sciunit instead it's a dependency of neuronunit and it comes installed from there and for this we take your repo from development - this changed recently when we improved the installation process since before we were using a fork made along the one for neuronunit and using that for the installation.

If you want to push the fixes on top of what we are using for production it would be ideal to branch out from the tag 4.0.0, push fixes there and retag this branch so that we can move our requirements.txt to use your repo and the new tag and test if everything works fine. Thx!

rgerkin commented 4 years ago

OK, so it looks like tag 4.0.0 is at commit scidash/neuronunit@94f32028740ed9280fce725482a56bbc731c3773, and you always use scidash/sciunit dev. I have had a scidash/sciunit dash branch for a while, which is frozen (unless you guys specifically request a change or fix on it), which maybe you didn't know about. Assuming that scidash/sciunit dev is working for you, I should update scidash/sciunit dash to match it and then add a ddelpiano/neuronunit release that uses that branch. This will ensure that future changes to scidash/sciunit dev don't break anything for the app.

When you say re-tag, do you mean use the same tag (4.0.0) for a new code state or a new tag (e.g. 4.0.1)?

I will be sure to apply the changes focally to the 4.0.0 state and not bring any other changes with them.

gidili commented 4 years ago

@rgerkin We were using the dash branch for a long time but at some point dev was merged into dash because some commits went there that we needed and it brought it a bunch of other changes so we took that opportunity to switch back to dev at that point and forked from there. I think you can get safely rid of the dash branch! @ddelpiano can correct me if I am wrong on this

rgerkin commented 4 years ago

You may not be using the dash branch now, but do you want such a branch (or tag) that is guaranteed to be stable? Dev is not.

ddelpiano commented 4 years ago

I have had a scidash/sciunit dash branch for a while, which is frozen (unless you guys specifically request a change or fix on it), which maybe you didn't know about. Assuming that scidash/sciunit dev is working for you, I should update scidash/sciunit dash to match it and then add a ddelpiano/neuronunit release that uses that branch. This will ensure that future changes to scidash/sciunit dev don't break anything for the app.

@rgerkin from what I recall from the previous contract we tried to use dash for the release but the branch was moved forward for reasons that I don't remember (it was in August) and we were not able to run simulation from there. Then we moved backwards commit by commit trying to find the point where neuronunit was still compliant with the UI and I ended up forking and using the tag 4.0.0 that, after testing, was still working. My 2 cents, I would branch out from the tag 4.0.0 something new since we know that UI and library works along from that point, we can call the branch metacell, release or whatever you prefer works for us, push the changes you are planning to apply there and retag!

(sorry if I missed any other message in the meanwhile, I had this opened and filled in for 2 hours meanwhile I was in other meetings :) )

ddelpiano commented 4 years ago

You may not be using the dash branch now, but do you want such a branch (or tag) that is guaranteed to be stable? Dev is not.

@rgerkin a new branch branched out from tag 4.0.0 would ideal, thanks!

rgerkin commented 4 years ago

There is a new branch metacell which I believe has only two new commits since your 4.0.0, both of which are required for me to run the model.

rgerkin commented 4 years ago

I also added a metacell branch to sciunit, branched from today's dev branch (you've always been using SciUnit dev so presumably that's as good a place as any to start).