Skip to content

Commit 4ee5b15

Browse files
authored
Merge pull request #1495 from AllenNeuralDynamics/dev
Release v2.0.0 (merge into main)
2 parents 8f86f18 + deb2707 commit 4ee5b15

File tree

236 files changed

+90686
-264570
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+90686
-264570
lines changed

.github/workflows/publish_dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
- uses: actions/checkout@master
2121
- name: Pull latest changes
2222
run: git pull origin dev
23-
- name: Set up Python 3.8
23+
- name: Set up Python 3.10
2424
uses: actions/setup-python@v3
2525
with:
26-
python-version: 3.8
26+
python-version: '3.10'
2727
- name: Configure aws credentials
2828
uses: aws-actions/configure-aws-credentials@v2
2929
with:

.github/workflows/run_dev_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
strategy:
3131
matrix:
32-
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
32+
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
3333
steps:
3434
- uses: actions/checkout@v3
3535
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/run_main_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232
strategy:
3333
matrix:
34-
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
34+
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
3535
steps:
3636
- uses: actions/checkout@v3
3737
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/tag_and_publish_main.yml

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ jobs:
5353
- uses: actions/checkout@master
5454
- name: Pull latest changes
5555
run: git pull origin main
56-
- name: Set up Python 3.8
56+
- name: Set up Python 3.10
5757
uses: actions/setup-python@v3
5858
with:
59-
python-version: 3.8
59+
python-version: '3.10'
6060
- name: Configure aws credentials
6161
uses: aws-actions/configure-aws-credentials@v2
6262
with:
@@ -69,40 +69,3 @@ jobs:
6969
python -m aind_data_schema.utils.json_writer --output $TEMP_DIR --attach-version
7070
python -m pip install awscli
7171
aws s3 sync $TEMP_DIR s3://${AWS_DATA_SCHEMA_BUCKET}/$S3_PREFIX
72-
73-
upload_diagrams:
74-
needs: tag_and_publish
75-
runs-on: ubuntu-latest
76-
permissions:
77-
id-token: write
78-
contents: read
79-
env:
80-
AWS_DATA_SCHEMA_ROLE: ${{ secrets.AWS_DATA_SCHEMA_ROLE_PROD }}
81-
AWS_DATA_SCHEMA_BUCKET: ${{ vars.AWS_DATA_SCHEMA_BUCKET_PROD }}
82-
AWS_REGION : ${{ vars.AWS_REGION_PROD }}
83-
DIAGRAM_DIRECTORY: ./docs/source/_static/diagrams
84-
steps:
85-
- uses: actions/checkout@master
86-
- name: Pull latest changes
87-
run: git pull origin main
88-
- name: Set up Python 3.8
89-
uses: actions/setup-python@v3
90-
with:
91-
python-version: 3.8
92-
- name: Install dependencies
93-
run: |
94-
sudo apt install graphviz libgraphviz-dev -y
95-
python -m pip install -e .[docs] --no-cache-dir
96-
python -m pip install awscli
97-
- name: Generate erdantic diagrams
98-
run: |
99-
mkdir $DIAGRAM_DIRECTORY
100-
python -m aind_data_schema.utils.diagrams $DIAGRAM_DIRECTORY
101-
- name: Configure aws credentials
102-
uses: aws-actions/configure-aws-credentials@v2
103-
with:
104-
role-to-assume: ${{ env.AWS_DATA_SCHEMA_ROLE }}
105-
role-session-name: github-diagram-upload-session
106-
aws-region: ${{ env.AWS_REGION }}
107-
- name: Create and upload diagrams
108-
run: aws s3 sync $DIAGRAM_DIRECTORY s3://${AWS_DATA_SCHEMA_BUCKET}/diagrams

.github/workflows/update_docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
- uses: actions/checkout@v3
1515
with:
1616
token: ${{ secrets.SERVICE_TOKEN }}
17-
- name: Set up Python 3.8
17+
- name: Set up Python 3.10
1818
uses: actions/setup-python@v3
1919
with:
20-
python-version: 3.8
20+
python-version: '3.10'
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install -e .[dev] --no-cache-dir
@@ -51,10 +51,10 @@ jobs:
5151
- uses: actions/checkout@v3
5252
with:
5353
token: ${{ secrets.SERVICE_TOKEN }}
54-
- name: Set up Python 3.8
54+
- name: Set up Python 3.10
5555
uses: actions/setup-python@v2
5656
with:
57-
python-version: 3.8
57+
python-version: '3.10'
5858
- name: Install dependencies
5959
run: |
6060
sudo apt install graphviz libgraphviz-dev -y

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,8 @@ dmypy.json
140140

141141
# Jupyter
142142
notebook/
143+
*.vscode
144+
ephys_instrument.json
145+
examples/*.json
146+
*.json
147+
docs/base/models/*

.readthedocs.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: "3.8"
6+
python: "3.13"
77

88
python:
99
install:
@@ -12,3 +12,7 @@ python:
1212
extra_requirements:
1313
- dev
1414
- docs
15+
16+
sphinx:
17+
# Path to your Sphinx configuration file.
18+
configuration: docs/source/conf.py

CODE_OF_CONDUCT.md

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
2+
# Contributor Covenant Code of Conduct
3+
4+
## Our Pledge
5+
6+
We as members, contributors, and leaders pledge to make participation in our
7+
community a harassment-free experience for everyone, regardless of age, body
8+
size, visible or invisible disability, ethnicity, sex characteristics, gender
9+
identity and expression, level of experience, education, socio-economic status,
10+
nationality, personal appearance, race, religion, or sexual identity
11+
and orientation.
12+
13+
We pledge to act and interact in ways that contribute to an open, welcoming,
14+
diverse, inclusive, and healthy community.
15+
16+
## Our Standards
17+
18+
Examples of behavior that contributes to a positive environment for our
19+
community include:
20+
21+
* Demonstrating empathy and kindness toward other people
22+
* Being respectful of differing opinions, viewpoints, and experiences
23+
* Giving and gracefully accepting constructive feedback
24+
* Accepting responsibility and apologizing to those affected by our mistakes,
25+
and learning from the experience
26+
* Focusing on what is best not just for us as individuals, but for the
27+
overall community
28+
29+
Examples of unacceptable behavior include:
30+
31+
* The use of sexualized language or imagery, and sexual attention or
32+
advances of any kind
33+
* Trolling, insulting or derogatory comments, and personal or political attacks
34+
* Public or private harassment
35+
* Publishing others' private information, such as a physical or email
36+
address, without their explicit permission
37+
* Other conduct which could reasonably be considered inappropriate in a
38+
professional setting
39+
40+
## Enforcement Responsibilities
41+
42+
Community leaders are responsible for clarifying and enforcing our standards of
43+
acceptable behavior and will take appropriate and fair corrective action in
44+
response to any behavior that they deem inappropriate, threatening, offensive,
45+
or harmful.
46+
47+
Community leaders have the right and responsibility to remove, edit, or reject
48+
comments, commits, code, wiki edits, issues, and other contributions that are
49+
not aligned to this Code of Conduct, and will communicate reasons for moderation
50+
decisions when appropriate.
51+
52+
## Scope
53+
54+
This Code of Conduct applies within all community spaces, and also applies when
55+
an individual is officially representing the community in public spaces.
56+
Examples of representing our community include using an official email address,
57+
posting via an official social media account, or acting as an appointed
58+
representative at an online or offline event.
59+
60+
## Enforcement
61+
62+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
63+
reported to the community leaders responsible for enforcement at
64+
65+
All complaints will be reviewed and investigated promptly and fairly.
66+
67+
All community leaders are obligated to respect the privacy and security of the
68+
reporter of any incident.
69+
70+
## Enforcement Guidelines
71+
72+
Community leaders will follow these Community Impact Guidelines in determining
73+
the consequences for any action they deem in violation of this Code of Conduct:
74+
75+
### 1. Correction
76+
77+
**Community Impact**: Use of inappropriate language or other behavior deemed
78+
unprofessional or unwelcome in the community.
79+
80+
**Consequence**: A private, written warning from community leaders, providing
81+
clarity around the nature of the violation and an explanation of why the
82+
behavior was inappropriate. A public apology may be requested.
83+
84+
### 2. Warning
85+
86+
**Community Impact**: A violation through a single incident or series
87+
of actions.
88+
89+
**Consequence**: A warning with consequences for continued behavior. No
90+
interaction with the people involved, including unsolicited interaction with
91+
those enforcing the Code of Conduct, for a specified period of time. This
92+
includes avoiding interactions in community spaces as well as external channels
93+
like social media. Violating these terms may lead to a temporary or
94+
permanent ban.
95+
96+
### 3. Temporary Ban
97+
98+
**Community Impact**: A serious violation of community standards, including
99+
sustained inappropriate behavior.
100+
101+
**Consequence**: A temporary ban from any sort of interaction or public
102+
communication with the community for a specified period of time. No public or
103+
private interaction with the people involved, including unsolicited interaction
104+
with those enforcing the Code of Conduct, is allowed during this period.
105+
Violating these terms may lead to a permanent ban.
106+
107+
### 4. Permanent Ban
108+
109+
**Community Impact**: Demonstrating a pattern of violation of community
110+
standards, including sustained inappropriate behavior, harassment of an
111+
individual, or aggression toward or disparagement of classes of individuals.
112+
113+
**Consequence**: A permanent ban from any sort of public interaction within
114+
the community.
115+
116+
## Attribution
117+
118+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
119+
version 2.0, available at
120+
[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
121+
122+
Community Impact Guidelines were inspired by
123+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
124+
125+
For answers to common questions about this code of conduct, see the FAQ at
126+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
127+
at [https://www.contributor-covenant.org/translations][translations].
128+
129+
[homepage]: https://www.contributor-covenant.org
130+
[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
131+
[Mozilla CoC]: https://github.com/mozilla/diversity
132+
[FAQ]: https://www.contributor-covenant.org/faq
133+
[translations]: https://www.contributor-covenant.org/translations

0 commit comments

Comments
 (0)