changed imports and the way the problem parameters are handled #48
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.
Before merging, check #47
Changes:
from xy import *
statementsNS_namespace
holding possible function arguments in the main executablesvars().update(some_dictionary)
withNS_namespace.update(some_dictionary)
NSfrac.__init__.py
orNScoupled.__init__.py
, they are removed from other places in the code.problem_parameters()
toget_problem_parameters()
in all problems. The function no longer changesNS_parameters
, but rather returns a dictionaryproblem_parameters
with the default parameter values.NS_parameters
withproblem_parameters
in the main executablepost_import_problem()
function now separatesNS_namespace
andproblem_parameters
. Previously everything was merged into one dictionaryd
. Anything ind
was copied into the namespace of the main executable**vars()
or**globals()
with the dictionariesNS_parameters
andproblem_parameters