Skip to content

Commit

Permalink
Merge pull request #883 from PrincetonUniversity/devel
Browse files Browse the repository at this point in the history
v0.4.8.0
  • Loading branch information
kmantel authored Jul 20, 2018
2 parents 68689b4 + c508833 commit dc03db6
Show file tree
Hide file tree
Showing 153 changed files with 25,588 additions and 5,826 deletions.
7 changes: 7 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .idea/runConfigurations/Make_HTML.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .idea/runConfigurations/Scratch_Pad.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/runConfigurations/_Gating_Mechanism.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/runConfigurations/_RL_DDM.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions .idea/runConfigurations/py_test_in_test_lib_mechanism_docs_py.xml

This file was deleted.

17 changes: 17 additions & 0 deletions .idea/runConfigurations/py_test_in_tests.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

104 changes: 102 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,110 @@
language: python

python:
- 3.5
- 3.6

install:
pip install -e .[dev]
- pip install coveralls
- pip install git+https://github.com/benureau/leabra.git@master
- pip install -e .[dev]

os:
- linux

# Cache installed python packages
cache:
directories:
- $HOME/virtualenv/python${TRAVIS_PYTHON_VERSION}/lib/python${TRAVIS_PYTHON_VERSION}/site-packages
- $HOME/virtualenv/python${TRAVIS_PYTHON_VERSION}/bin

matrix:
include:
- python: 3.7
dist: xenial # Python 3.7 is only available on xenial because of deps

- os: osx
python: 3.5
language: generic
env:
- PYTHON=3.5.4
- PYTHON_PKG_VERSION=macosx10.6
# Cache installed python packages
cache:
directories:
- venv/lib/python3.5/site-packages
- venv/bin
# The pip update script below overwrites (and thus modifies) cached entries.
# Remove them to avoid reuploading the cache on every build
before_cache:
- rm -rvf venv/lib/python3.5/site-packages/pip*
- rm -rvf venv/bin/pip*

- os: osx
python: 3.6
language: generic
env:
- PYTHON=3.6.6
- PYTHON_PKG_VERSION=macosx10.9
# Cache installed python packages
cache:
directories:
- venv/lib/python3.6/site-packages
- venv/bin
# The pip update script below overwrites (and thus modifies) cached entries.
# Remove them to avoid reuploading the cache on every build
before_cache:
- rm -rvf venv/lib/python3.6/site-packages/pip*
- rm -rvf venv/bin/pip*

- os: osx
python: 3.7
language: generic
env:
- PYTHON=3.7.0
- PYTHON_PKG_VERSION=macosx10.9
# Cache installed python packages
cache:
directories:
- venv/lib/python3.7/site-packages
- venv/bin
# The pip update script below overwrites (and thus modifies) cached entries.
# Remove them to avoid reuploading the cache on every build
before_cache:
- rm -rvf venv/lib/python3.7/site-packages/pip*
- rm -rvf venv/bin/pip*

addons:
apt:
packages:
- graphviz

before_install: |
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
FILE=python-$PYTHON-$PYTHON_PKG_VERSION.pkg
curl -O -# https://www.python.org/ftp/python/$PYTHON/$FILE
sudo installer -pkg $FILE -target /
python3 --version
# This sidesteps TLSv1.1 issue when using pip
curl https://bootstrap.pypa.io/get-pip.py | python3
python3 -m pip install virtualenv
python3 -m venv venv
source venv/bin/activate
python --version
# virtualenv installs default pip even if we updated it above.
# update it again.
curl https://bootstrap.pypa.io/get-pip.py | python
# setuptools also face the same TLS deprecation issue.
# Update them explicitly
python -m pip install -U setuptools
python -m pip install -U setuptools-git
HOMEBREW_NO_AUTO_UPDATE=1 brew install graphviz
fi
script:
- python -m pytest -p no:logging tests/
- python -m pytest -p no:logging --cov=psyneulink tests/

after_script:
- coveralls
11 changes: 7 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.. image:: https://badge.fury.io/py/psyneulink.svg
:target: https://badge.fury.io/py/psyneulink
.. image:: https://travis-ci.org/PrincetonUniversity/PsyNeuLink.svg?branch=master
:target: https://travis-ci.org/PrincetonUniversity/PsyNeuLink
.. image:: https://mybinder.org/badge.svg
:target: https://mybinder.org/v2/gh/PrincetonUniversity/PsyNeuLink/master

Expand Down Expand Up @@ -56,10 +58,11 @@ PsyNeuLink is:
- *extensible* -- it has an interface (API) that allows it to be used with other powerful tools for implementing
individual components, such as:
* Neuron (biophysically realistic models of neuronal function)
* TensorFlow (ODE's, deep learning);
* Emergent (broad class of neurally-plausible connectionist models);
* ACT-R (symbolic, production system models).

* Neuron (biophysically realistic models of neuronal function)
* TensorFlow (ODE's, deep learning);
* Emergent (broad class of neurally-plausible connectionist models);
* ACT-R (symbolic, production system models).

What PsyNeuLink is **NOT**
--------------------------
Expand Down
2 changes: 0 additions & 2 deletions Scripts/Aida.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import psyneulink as pnl
import numpy as np


# In[2]:


Expand Down Expand Up @@ -134,4 +133,3 @@ def statistical():
minus_x, minus_y, plus_x, plus_y = statistical()
TSP.run(inputs={ECin:minus_x}, targets={ECout:minus_y})
## Running the above line of code causes weights to get too large

Loading

0 comments on commit dc03db6

Please sign in to comment.