Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow null session_datetime in session_with_id #37

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@

Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.

## [0.1.7] - 2023-11-30

+ Allow null value for `session_datetime` in `session_with_id`

## [0.1.6] - 2023-09-18

+ Update - NWB export checks for activated session schema to allow use of both
`session_with_id` and `session_with_datetime`


## [0.1.5] - 2023-06-20

+ Update - GitHub Actions workflows
Expand Down Expand Up @@ -45,6 +48,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
+ Add - GitHub Action release process
+ Add - `session` schema

[0.1.7]: https://github.com/datajoint/element-session/releases/tag/0.1.7
[0.1.6]: https://github.com/datajoint/element-session/releases/tag/0.1.6
[0.1.5]: https://github.com/datajoint/element-session/releases/tag/0.1.5
[0.1.4]: https://github.com/datajoint/element-session/releases/tag/0.1.4
Expand Down
4 changes: 2 additions & 2 deletions element_session/session_with_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ class Session(dj.Manual):
Attributes:
Subject (foreign key): Key for Subject table
session_id (int): Unique numeric session ID
session_datetime (datetime): date and time of the session
session_datetime (datetime, optional): date and time of the session
"""

definition = """
-> Subject
session_id: int
---
session_datetime: datetime
session_datetime=null: datetime
"""

class Attribute(dj.Part):
Expand Down
2 changes: 1 addition & 1 deletion element_session/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package metadata."""
__version__ = "0.1.6"
__version__ = "0.1.7"