Skip to content

Commit 02c63a3

Browse files
committed
Merge branch 'rc/2.16.1'
2 parents 5eadb41 + 22bb1e5 commit 02c63a3

38 files changed

+15138
-21156
lines changed

.github/workflows/github-actions-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
- name: run test in docker
7878
run: |
7979
docker run \
80-
--env-file /home/github_worker/env.list \
80+
--env-file ~/env.list \
8181
--mount type=bind,source=$PWD,target=/home/ghworker,bind-propagation=rshared \
8282
--mount type=bind,source=/data/informatics/module_test_data/,target=/data/informatics/module_test_data/,bind-propagation=rshared,ro \
8383
--mount type=bind,source=/allen/,target=/allen/,bind-propagation=rshared,ro \

.github/workflows/nightly.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: run test in docker
2020
run: |
2121
docker run \
22-
--env-file /home/github_worker/env_nightly.list \
22+
--env-file ~/env_nightly.list \
2323
--mount type=bind,source=$PWD,target=/home/ghworker,bind-propagation=rshared \
2424
--mount type=bind,source=/data/informatics/module_test_data/,target=/data/informatics/module_test_data/,bind-propagation=rshared,ro \
2525
--mount type=bind,source=/allen/,target=/allen/,bind-propagation=rshared,ro \

.readthedocs.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ version: 2
77
sphinx:
88
builder: html
99

10+
build:
11+
os: ubuntu-22.04
12+
tools:
13+
python: "3.8"
14+
1015
python:
11-
version: 3.8
1216
install:
1317
- requirements: doc_requirements.txt
1418

1519
formats:
1620
- epub
17-
- pdf
18-
21+
- pdf

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [2.16.1] = 2023-11-13
5+
- See release notes on Github
6+
- Update testing
7+
- Update readthedocs configuration
8+
- Fix bug in trials change time loading.
9+
410
## [2.16.0] = 2023-11-09
511
- Python 3.10 and 3.11 support
612
- Support for VBO update release.

allensdk/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#
3636
import logging
3737

38-
__version__ = '2.16.0'
38+
__version__ = '2.16.1'
3939

4040

4141
try:

allensdk/brain_observatory/behavior/data_objects/trials/trials.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,10 @@ def index(self) -> pd.Index:
275275

276276
@property
277277
def change_time(self) -> pd.Series:
278-
return self.data["change_time"]
278+
if "change_time" in self.data:
279+
return self.data["change_time"]
280+
elif "change_time_no_display_delay" in self.data:
281+
return self.data["change_time_no_display_delay"]
279282

280283
@property
281284
def lick_times(self) -> pd.Series:

doc_requirements.txt

+32-32
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
pep8==1.7.0,<2.0.0
2-
flake8>=1.5.0,<4.0.0
3-
pylint>=1.5.4,<3.0.0
4-
numpydoc>=0.6.0,<1.0.0
5-
jupyter>=1.0.0,<2.0.0
1+
pep8
2+
flake8
3+
pylint
4+
numpydoc
5+
jupyter
66
# from here on, this file should contain a subset of the packages specified in requirements.txt
77
# some packages are excluded because they can't be installed on readthedocs
88
# these ought to be mocked out in doc_template/conf.py so that docs are generated for allensdk modules that import
99
# those packages
1010
# known examples: tables
11-
psycopg2-binary>=2.7,<3.0.0
12-
h5py>=2.8,<3.0.0
13-
matplotlib>=1.4.3,<4.0.0
14-
numpy>=1.15.4,<1.19.0
15-
pandas>=0.25.1,<=0.25.3
16-
jinja2>=2.7.3,<2.12.0
17-
scipy>=0.15.1,<2.0.0
18-
six>=1.9.0,<2.0.0
19-
pynrrd>=0.2.1,<1.0.0
20-
future >= 0.14.3,<1.0.0
21-
requests<3.0.0
22-
requests-toolbelt<1.0.0
23-
simplejson>=3.10.0,<4.0.0
24-
scikit-image>=0.14.0,<0.17.0
25-
scikit-build<1.0.0
26-
statsmodels==0.9.0
27-
simpleitk>=2.0.2,<3.0.0
28-
argschema>=3.0.1,<4.0.0
29-
glymur==0.8.19
30-
xarray<0.16.0
31-
hdmf==1.0.2
32-
pynwb==1.0.2
33-
seaborn<1.0.0
34-
aiohttp==3.7.4
35-
nest_asyncio==1.2.0
36-
docutils<0.18
37-
markupsafe==2.0.1
11+
psycopg2-binary
12+
h5py
13+
matplotlib
14+
numpy<1.24
15+
pandas==1.5.3
16+
jinja2
17+
scipy<1.11
18+
six
19+
pynrrd
20+
future
21+
requests
22+
requests-toolbelt
23+
simplejson
24+
scikit-image
25+
scikit-build
26+
statsmodels
27+
simpleitk
28+
argschema
29+
glymur
30+
xarray<2023.2.0
31+
hdmf!=3.5.*,!=3.6.*,!=3.7.*,!=3.8.*
32+
pynwb
33+
seaborn
34+
aiohttp
35+
nest_asyncio
36+
docutils
37+
markupsafe

0 commit comments

Comments
 (0)