Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
d470fa4
Updated exposure time in fip example
dougollerenshaw May 5, 2025
d3b1a0a
Added behavior cameras to example session
dougollerenshaw May 5, 2025
dd35b31
Add special case for reward units conflict
dougollerenshaw May 5, 2025
bccd5da
Added logic to pass through stimulus epoch params
dougollerenshaw May 5, 2025
fbbb80f
Radically simplify the joint session creation script
dougollerenshaw May 5, 2025
6395ba0
Reverting cmos exposure time change
dougollerenshaw May 6, 2025
6e091dd
Updated logic in merge_sessions to deal with empty strings, updated d…
dougollerenshaw May 6, 2025
999b892
Improved default handling in scripts/example_create_fiber_and_pav_ses…
dougollerenshaw May 6, 2025
b83929f
Removed unnecessary args
dougollerenshaw May 6, 2025
7fecdb4
Linting and refactoring to avoid function complexity
dougollerenshaw May 6, 2025
fc57874
Test fixes to include session_type arg
dougollerenshaw May 6, 2025
13580f0
Docstring updates in utils/merge_sessions.py
dougollerenshaw May 6, 2025
f2683ef
More lint fixes
dougollerenshaw May 6, 2025
8b363ca
Added missing docstring in scripts/example_create_fiber_and_pav_sessi…
dougollerenshaw May 6, 2025
3f3e5e6
Added params to pass through
dougollerenshaw May 6, 2025
a8ed008
refactoring suggestion for the example code to make it a python function
hagikent May 7, 2025
d0463de
restoring help args for CLI
hagikent May 7, 2025
48ec268
Added a script for downloading data to local folder
dougollerenshaw May 7, 2025
17e5fbd
Added reward_delivery
dougollerenshaw May 7, 2025
4c90696
linting
dougollerenshaw May 7, 2025
86f595f
Merge pull request #294 from AllenNeuralDynamics/more_fib_plus_pav_up…
dougollerenshaw May 7, 2025
5dc8761
Docstring updates
dougollerenshaw May 7, 2025
41b1e9a
Merge branch 'more_fib_plus_pav_updates' of https://github.com/AllenN…
dougollerenshaw May 7, 2025
155af9c
Lint fixes
dougollerenshaw May 7, 2025
19cc50e
Added s3fs to pyproject.toml
dougollerenshaw May 7, 2025
85a6d37
Added missing docstrings
dougollerenshaw May 7, 2025
e2cefcb
Added missing comma in pyproject.toml
dougollerenshaw May 7, 2025
0d7cc9f
Timezone format fixes - use local tz with offset, not utc
dougollerenshaw May 21, 2025
2cb8317
Updated timing logic and combine data streams
dougollerenshaw May 21, 2025
60dc6fa
Cleanup:
dougollerenshaw May 23, 2025
2ec68e7
Test fixes
dougollerenshaw May 23, 2025
a9ae381
linting, including reducing func complexity w some refactoring
dougollerenshaw May 23, 2025
c396dfd
Small post-review changes
dougollerenshaw May 23, 2025
2ed512b
Another lint fix
dougollerenshaw May 23, 2025
606a781
Add a note to merge sessions docstring
dougollerenshaw May 23, 2025
0058f0f
Removed script for downloading data
dougollerenshaw May 23, 2025
bcd8199
Removed trailing comma in pyproject.toml, reverting to main
dougollerenshaw May 23, 2025
5dbce34
Replace tempfile with mock in tests
dougollerenshaw May 27, 2025
d813fc0
Fixed timezone default in pav session.py
dougollerenshaw May 27, 2025
c0ca5f4
Fixed trailing whitespace
dougollerenshaw May 27, 2025
2327d8b
Added missed docstrings in test_merge_sessions
dougollerenshaw May 27, 2025
4523bfb
Adjusted spout location from -5 mm to -1.5 mm per feedback from Kenta
dougollerenshaw May 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added behavior cameras to example session
  • Loading branch information
dougollerenshaw committed May 5, 2025
commit d3b1a0a8875edd115158da3a4d705b411bc801a7
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@

User should use this script to create a new session metadata file,
modifying specific fields as needed.

Example command to run the script from the command line:

```bash
python src/aind_metadata_mapper/pavlovian_behavior/example_create_session.py \
--subject-id 000000 \
--data-directory data/sample_fiber_data \
--output-directory data/sample_fiber_data \
--output-filename session_pavlovian_behavior.json
```
=======
"""

from pathlib import Path
Expand Down Expand Up @@ -77,7 +88,10 @@ def create_metadata(
"stream_start_time": None,
"stream_end_time": None,
"stream_modalities": [Modality.BEHAVIOR],
"camera_names": [],
"camera_names": [
"BehaviorVideography_Eye",
"BehaviorVideography_Body",
],
"daq_names": [""],
"light_sources": [
{
Expand Down