File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ export default (store) => (next) => (action) => {
348348 break ;
349349 }
350350 case CREATE_SIMULATE_NETWORK : {
351-
351+
352352 checkParametersThen ( ( ) => simulateNetwork ( { allTrials : false } ) )
353353
354354 break ;
@@ -358,7 +358,7 @@ export default (store) => (next) => (action) => {
358358 next ( GeppettoActions . activateWidget ( EDIT_WIDGETS . experimentManager . id ) ) ;
359359 }
360360
361- checkParametersThen ( ( ) => simulateNetwork ( { allTrials : action . payload , usePrevInst : ( store . getState ( ) . generalState === Constants . MODEL_STATE . NOT_INSTANTIATED ? false : true ) } ) )
361+ checkParametersThen ( ( ) => simulateNetwork ( { allTrials : action . payload , usePrevInst : ( store . getState ( ) . general . modelState !== Constants . MODEL_STATE . NOT_INSTANTIATED ) } ) )
362362 break ;
363363 }
364364 case PYTHON_CALL : {
You can’t perform that action at this time.
0 commit comments