Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/log/log with time #582

Merged
merged 88 commits into from
Dec 10, 2017
Merged

Feat/log/log with time #582

merged 88 commits into from
Dec 10, 2017

Conversation

jdcpni
Copy link
Collaborator

@jdcpni jdcpni commented Dec 10, 2017

• Log

  • integrated with Scheduler and Time modules; now reports run:trial:time_step
  • nparray, csv: implemented reporting of asynchronous recordings

• Tests

  • test_log: updated per above
  • test_multilayer: log testing updated per above

jdcpni and others added 30 commits November 30, 2017 14:56
  - show_graph(): bug fix for ControlProjections
…parison of random numbers between python and matlab
  - show_graph(): bug fix for ControlProjections
* • System
  - show_graph():
    fixed bug producing empty image for graphs with just one Mechanism
    added auto-recurrent projections

* • Component
  - deferred_init:  fixed bug in which "Deferred Init" was remaining in name of initialized Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Moved call to _assign_default_projection_name from MappingProjection to Projection

* • State
  - _validate_variable:  removed:
        if not context:
            context = kwAssign + ' Base Value'
        else:
            context = context + kwAssign + ' Base Value'

* • State
  - _validate_variable:  removed:
        if not context:
            context = kwAssign + ' Base Value'
        else:
            context = context + kwAssign + ' Base Value'

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • Mechanism
  - added states and projections properties (as well as ones for each projection time)
  - added log_items property that returns a list of logged items and allows them to be set

• State
  - fixed a bug preventing proper logging

* • Mechanism
  - added states and projections properties (as well as ones for each projection time)
  - added log_items property that returns a list of logged items and allows them to be set

• State
  - fixed a bug preventing proper logging

* -

* -

* -

* -

* -

* • README.rst and index.rst:
  revs to Intro, Purpose, and Contributors

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* -

* -

* -

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* -

* -

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -
* • System
  - show_graph():
    fixed bug producing empty image for graphs with just one Mechanism
    added auto-recurrent projections

* • Component
  - deferred_init:  fixed bug in which "Deferred Init" was remaining in name of initialized Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Moved call to _assign_default_projection_name from MappingProjection to Projection

* • State
  - _validate_variable:  removed:
        if not context:
            context = kwAssign + ' Base Value'
        else:
            context = context + kwAssign + ' Base Value'

* • State
  - _validate_variable:  removed:
        if not context:
            context = kwAssign + ' Base Value'
        else:
            context = context + kwAssign + ' Base Value'

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • Mechanism
  - added states and projections properties (as well as ones for each projection time)
  - added log_items property that returns a list of logged items and allows them to be set

• State
  - fixed a bug preventing proper logging

* • Mechanism
  - added states and projections properties (as well as ones for each projection time)
  - added log_items property that returns a list of logged items and allows them to be set

• State
  - fixed a bug preventing proper logging

* -

* -

* -

* -

* -

* • README.rst and index.rst:
  revs to Intro, Purpose, and Contributors

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* -

* -

* -

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* -

* -

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* • Log
  - added an example to docstring
…licative param(s) of modulated mechanism(s) properly
…nism/modulation

Fix/lc control mechanism/modulation
* • System
  - show_graph():
    fixed bug producing empty image for graphs with just one Mechanism
    added auto-recurrent projections

* • Component
  - deferred_init:  fixed bug in which "Deferred Init" was remaining in name of initialized Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Moved call to _assign_default_projection_name from MappingProjection to Projection

* • State
  - _validate_variable:  removed:
        if not context:
            context = kwAssign + ' Base Value'
        else:
            context = context + kwAssign + ' Base Value'

* • State
  - _validate_variable:  removed:
        if not context:
            context = kwAssign + ' Base Value'
        else:
            context = context + kwAssign + ' Base Value'

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • Mechanism
  - added states and projections properties (as well as ones for each projection time)
  - added log_items property that returns a list of logged items and allows them to be set

• State
  - fixed a bug preventing proper logging

* • Mechanism
  - added states and projections properties (as well as ones for each projection time)
  - added log_items property that returns a list of logged items and allows them to be set

• State
  - fixed a bug preventing proper logging

* -

* -

* -

* -

* -

* • README.rst and index.rst:
  revs to Intro, Purpose, and Contributors

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* -

* -

* -

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* -

* -

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* • Log
  - added an example to docstring

* -

* • Log
  - docstring:  added full example (including logging a MappingProjection)

* • Log
  - docstring:  added full example (including logging a MappingProjection)

* • Log
  - docstring:  added full example (including logging a MappingProjection)
* • System
  - show_graph():
    fixed bug producing empty image for graphs with just one Mechanism
    added auto-recurrent projections

* • Component
  - deferred_init:  fixed bug in which "Deferred Init" was remaining in name of initialized Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Component
  - added call to _assign_default_name()

• PathwayProjection, Projection
  - added _assign_default_name to trap call from Component

* • Moved call to _assign_default_projection_name from MappingProjection to Projection

* • State
  - _validate_variable:  removed:
        if not context:
            context = kwAssign + ' Base Value'
        else:
            context = context + kwAssign + ' Base Value'

* • State
  - _validate_variable:  removed:
        if not context:
            context = kwAssign + ' Base Value'
        else:
            context = context + kwAssign + ' Base Value'

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • Mechanism
  - added states and projections properties (as well as ones for each projection time)
  - added log_items property that returns a list of logged items and allows them to be set

• State
  - fixed a bug preventing proper logging

* • Mechanism
  - added states and projections properties (as well as ones for each projection time)
  - added log_items property that returns a list of logged items and allows them to be set

• State
  - fixed a bug preventing proper logging

* -

* -

* -

* -

* -

* • README.rst and index.rst:
  revs to Intro, Purpose, and Contributors

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* • Mechanism
  - docstring: updated to include states, and projections attributes

* -

* -

* -

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* -

* -

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* Merge branch 'TEMP' of https://github.com/jdcpni/PsyNeuLink into TEMP

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/projections/pathway/mappingprojection.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/inputstate.py
#	psyneulink/components/states/modulatorysignals/controlsignal.py
#	psyneulink/components/states/outputstate.py
#	psyneulink/components/states/parameterstate.py
#	psyneulink/components/states/state.py
#	tests/mechanisms/test_input_state_spec.py
#	tests/projections/test_projections_specifications.py

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* -

* • Log
  - added an example to docstring

* -

* • Log
  - added numpy_array output method
  - docstring:  added full example (including logging a MappingProjection)
* • System
  - show_graph():
    fixed bug producing empty image for graphs with just one Mechanism
    added auto-recurrent projections

* • Log
  - added numpy_array output method

* • Mechanism
  - added senders, modulators and receivers properties

* • Mechanism
  - added senders, modulators and receivers properties

* -
* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • Log
  - changed name of numpy_array method to nparray and added to docstring
* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* • Log
  - minor revs to docstring
jdcpni and others added 29 commits December 7, 2017 15:06
* • System
  - show_graph(): bug fix for ControlProjections

* • System
  - show_graph(): bug fix for ControlProjections

* -

* -

* -

* -

* -

* -

* • Log
  - refactored to keep data for a Compoent in its *own* Log,
    and have others that require that data to reference it

* • Log
  - LogLevels converted to masks
  - _get_log_context method added that checks context against mask
  - tests of context for logging now use _get_log_context

* -

* -

* -

* • Log, State, Projection
  - consolidated logging of value in Log._log_value

* -

* • ControlSignal
  - adding call to logg in value property

• Log:
  Commented places ("FIX: IMPLEMENT EXECUTION+LEARNING CONDITION")
      that need refactoring to fully implement LogLevel and get_log_context

* • Log
  - added value of owner as loggable_component

* • Log
  - added value of owner as loggable_component

* • Log
  - log_item:  allows LogLevel names to be used for specification
• Keywords
  - LogLevel names added as keywords
  - consolidated logging of value in Log._log_value
  - clear_entries (mostly) implemented (clears data but leaves entry)

• Tests
  test_multilayer now tests LogLevel.LEARNING
  - clear_entries: option added for deleting entry or just the data
  - generalized context identification to search frame for most recent specification
…ep time, used in Scheduler and Conditions

Clock
	has Time and TimeHistoryTree
Time/SimpleTime
	store a representation of time using TimeScales
TimeHistoryTree
	stores a representation of present and past time, keeping track of the number of times various TimeScales have occurred under the scope of other TimeScales
* feat/scheduling/enhanced-clock:
  create and integrate a new Clock class, and several new classes to keep time, used in Scheduler and Conditions
  remove old Clock/CentralClock
…Link into MERGE_WITH_CLOCK

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/mechanisms/mechanism.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/state.py
#	psyneulink/components/system.py
#	psyneulink/globals/log.py
#	tests/learning/test_multilayer.py
…Link into feat/Log/log_with_time

# Conflicts:
#	Scripts/Scratch Pad.py
#	psyneulink/components/mechanisms/mechanism.py
#	psyneulink/components/projections/projection.py
#	psyneulink/components/states/state.py
#	psyneulink/components/system.py
#	psyneulink/globals/log.py
#	tests/learning/test_multilayer.py
  - implemented _get_time (not yet reported in print_entries, csv or nparray)
  - implemented _get_time (not yet reported in print_entries, csv or nparray)
  - implemented _get_time (not yet reported in print_entries, csv or nparray)
  - nparray: implemented reporting of asynchronous entries

• Tests
  - test_multilayer:  updated log test per above
  - integrated with Timing;  now reports run:trial:time_step
  - nparray & csv: implemented reporting of asynchronous entries
  - implemented _get_time

• Tests
  - test_multilayer:  updated log test per above
  - test_log: updated per above
@jdcpni jdcpni merged commit 2c8fd6c into master Dec 10, 2017
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.

4 participants