Skip to content

Commit

Permalink
Merge pull request #37 from kushalbakshi/main
Browse files Browse the repository at this point in the history
Allow null `session_datetime` in `session_with_id`
  • Loading branch information
Thinh Nguyen authored Dec 1, 2023
2 parents 6d4681c + d5e9edf commit 32bc572
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
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"

0 comments on commit 32bc572

Please sign in to comment.