Skip to content

Conversation

@rodriguez-facundo
Copy link
Contributor

@rodriguez-facundo rodriguez-facundo commented Jun 25, 2018

this requires: MetaCell/geppetto-netpyne#35

we are adding cellArgs field (a dictionary) to import cell template and also retaining the conds that were defined before clicking import template.

There is a difference between the type dict and the type netpyne.specs.dict. This difference was causing troubles to import a cell template and was also causing the app to hang. So, in order to retain the conds defined before importing, this PR is required

Copy link
Contributor

@adrianq adrianq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me just waiting to merge MetaCell/geppetto-netpyne#35

@adrianq
Copy link
Contributor

adrianq commented Jul 3, 2018

@rodriguez-facundo I found a bug while doing the final tests. When importing a cell or a model we change the current folder to a different one (to compile the mod files, etc.) and revert this change at the end of the method. If there was an error at any point it will goes straight to the catch clause without changing back the current folder. Next time, the user opens the dialog he will be in a subfolder without the possibility of exploring the parent folder. Fix with a 'finally' clause. May have to do with #39

@adrianq adrianq merged commit 525b5bb into development Jul 3, 2018
@rodriguez-facundo rodriguez-facundo deleted the facu_import_template branch July 10, 2018 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants