kmantel

Results 37 issues of kmantel

Simple typehints seem to be supported, but others cause bowler to crash. For example, foo.py: import typing def foo(bar: typing.List[str]): pass Running bowler.Query('foo.py').select_function('foo').add_argument('baz', 1).diff() Produces Skipping foo.py: failed to transform...

good first issue

Currently, default argument values for \_\_init\_\_ methods of Components are all None to allow distinguishing between a default value a user actually passed in during construction and a default automatically...

zprio:low

First noticed in https://github.com/PrincetonUniversity/PsyNeuLink/pull/1843 The only special thing I can see is the environment markers `sys_platform != 'win32' and platform_machine == 'x86_64' and platform_python_implementation == 'CPython'`, but dependabot is supposed...

CI

It was added to allow faster performance for simulations by not using new contexts (and so copying data) for each simulation, instead using only the original context, and requires manual...

``` a = pnl.TransferMechanism( name='a', function=pnl.Linear( slope=(1, pnl.CONTROL), ) ) comp = pnl.Composition() comp.add_node(a) ocm = pnl.OptimizationControlMechanism(agent_rep=comp) comp.add_controller(ocm) ``` produces the error ``` PsyNeuLink/psyneulink/core/components/functions/nonstateful/optimizationfunctions.py:593: UserWarning: The following arg(s) were not...

content is from Jeshua Tromp at Universiteit Leiden: After some other project detours I'm back on coding with Psyneulink, and now in the end phase of a modeling project coded...

bug

typecheck-decorator has not been updated since 2016, and typehints are natively supported in the python `typing` module. python typehints are also supported for automatic documentation with sphinx

Figures for example models in [models](https://github.com/PrincetonUniversity/PsyNeuLink/tree/master/psyneulink/library/models) are saved as static files to be shown in the documentation at https://princetonuniversity.github.io/PsyNeuLink/Models.html. While underlying values are tested in [test_documentation_models.py](https://github.com/PrincetonUniversity/PsyNeuLink/blob/master/tests/models/test_documentation_models.py), the generated figures are...

CI

``` >>> import psyneulink as pnl >>> i = pnl.IntegratorMechanism(size=2) >>> i.defaults.variable array([[0]]) ``` The shape should be `(1, 2)` as in ``` >>> t = pnl.TransferMechanism(size=2) >>> t.defaults.variable array([[0.,...

bug