From 7817392d1c4c876120446f48773ec1ebfbd870c3 Mon Sep 17 00:00:00 2001 From: jdcpni Date: Sun, 1 Apr 2018 07:19:36 -0400 Subject: [PATCH] Refactor/context/deprecate init status (#745) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * - * - * - * - * - * - * - * - * - * - * - * - * - * - * • Log LogCondition - subset of ContextFlags used to specified logPref • Context ContextFlags - implemented as common set of context flags for: - initialization - execution tracking - logging ContextStatus - aliases to ContextFlags (for backward compatibility) * • Log LogCondition - subset of ContextFlags used to specified logPref • Context ContextFlags - implemented as common set of context flags for: - initialization - execution tracking - logging ContextStatus - aliases to ContextFlags (for backward compatibility) * • Log LogCondition - subset of ContextFlags used to specified logPref • Context ContextFlags - implemented as common set of context flags for: - initialization - execution tracking - logging ContextStatus - aliases to ContextFlags (for backward compatibility) * - * - * - * - * - * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * - * - * • Context context.status replaced with specific field assignments (.initialization_phase, .execution_phase, and .source) * - * - * - * - * - * - * Merge branches 'devel' and 'refactor/context/structured' of https://github.com/PrincetonUniversity/PsyNeuLink into refactor/context/structured # Conflicts: # .idea/runConfigurations/Tests.xml # Scripts/McClure.py * Merge branches 'devel' and 'refactor/context/structured' of https://github.com/PrincetonUniversity/PsyNeuLink into refactor/context/structured # Conflicts: # .idea/runConfigurations/Tests.xml # Scripts/McClure.py * - * - * • Context - consolidated init_status into context.initialization_status * • Context - consolidated init_status into context.initialization_status * • Context - consolidated init_status into context.initialization_status --- ...st_for_tests_control_test_EVC_test_EVC.xml | 5 +-- psyneulink/components/component.py | 30 +++++----------- .../adaptive/gating/gatingmechanism.py | 3 +- .../adaptive/learning/learningmechanism.py | 3 +- psyneulink/components/mechanisms/mechanism.py | 7 ++-- .../processing/objectivemechanism.py | 5 +-- psyneulink/components/process.py | 24 +++++++------ .../modulatory/controlprojection.py | 7 ++-- .../modulatory/gatingprojection.py | 3 +- .../modulatory/learningprojection.py | 6 ++-- .../modulatory/modulatoryprojection.py | 7 ++-- .../projections/pathway/mappingprojection.py | 5 +-- .../projections/pathway/pathwayprojection.py | 9 +++-- .../components/projections/projection.py | 34 ++++++++----------- psyneulink/components/states/inputstate.py | 6 ++-- .../states/modulatorysignals/controlsignal.py | 6 ++-- .../modulatorysignals/modulatorysignal.py | 19 ++++++----- psyneulink/components/states/outputstate.py | 4 +-- .../components/states/parameterstate.py | 3 +- psyneulink/components/states/state.py | 32 +++++++++-------- psyneulink/components/system.py | 2 +- psyneulink/globals/context.py | 22 ------------ psyneulink/globals/environment.py | 3 +- psyneulink/globals/log.py | 3 +- .../autoassociativelearningmechanism.py | 3 +- tests/log/test_log.py | 2 +- 26 files changed, 118 insertions(+), 135 deletions(-) diff --git a/.idea/runConfigurations/py_test_for_tests_control_test_EVC_test_EVC.xml b/.idea/runConfigurations/py_test_for_tests_control_test_EVC_test_EVC.xml index 895e167d597..b32bbb89e18 100644 --- a/.idea/runConfigurations/py_test_for_tests_control_test_EVC_test_EVC.xml +++ b/.idea/runConfigurations/py_test_for_tests_control_test_EVC_test_EVC.xml @@ -1,12 +1,13 @@ - + +