You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I check/uncheck options, they options are well passed/removed from the include variable in Python that is passed to sim.saveData(include) (line 606 of this PR in netpyne_geppetto.py)
However, whether I uncheck all options or I check all of them, the produced json always includes this:
When I check/uncheck options, they options are well passed/removed from the include variable in Python that is passed to sim.saveData(include) (line 606 of this PR in netpyne_geppetto.py) However, whether I uncheck all options or I check all of them, the produced json always includes this:
@ddelpiano@salvadord Here are the options that are passed to the saveData function depending on what you check in the save modal:
Save with "netParams, simConfig"
param passed to the saveData function of NetPyNE ['netParams', 'simConfig']
Save with None options:
param passed to the saveData function of NetPyNE []
Save with "netParams"
param passed to the saveData function of NetPyNE ['netParams']
Save with "netParams, simConfig, netCells" ('netPops' is automatically added because of 'netCells')
param passed to the saveData function of NetPyNE ['netParams', 'netCells', 'simConfig', 'netPops']
Save with "netParams, simConfig, netCells, simData" ('netPops' is automatically added because of 'netCells')
param passed to the saveData function of NetPyNE ['netParams', 'netCells', 'simConfig', 'simData', 'netPops']
aranega
changed the title
#518 fix: Fix "Save to json" isngored options
#518 fix: Fix "Save to json" ignored options
Dec 13, 2022
When I check/uncheck options, they options are well passed/removed from the include variable in Python that is passed to sim.saveData(include) (line 606 of this PR in netpyne_geppetto.py) However, whether I uncheck all options or I check all of them, the produced json always includes this:
Is it a normal behavior of the saveData(...) method in NetPyNE?
Yes, it is expected. This saveDataInclude is part of simConfig, and the items in this list doesn't get affected by whta os passed as include into sim.saveData() call. Instead, it serves as default saving options in case no includeis passed to that method call.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #518
This PR fixes the options that are passed to
When I check/uncheck options, they options are well passed/removed from the
includevariable in Python that is passed tosim.saveData(include)(line 606 of this PR innetpyne_geppetto.py)However, whether I uncheck all options or I check all of them, the produced json always includes this:
Is it a normal behavior of the
saveData(...)method in NetPyNE?