Skip to content

Commit

Permalink
Merge pull request #31 from kabilar/master
Browse files Browse the repository at this point in the history
Update datatype
  • Loading branch information
Thinh Nguyen authored Apr 5, 2023
2 parents 9c0a85e + 36b1d7f commit 35f77ac
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
25 changes: 15 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,33 @@

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.2.0] - 2023-04-04

+ Update - `event.Event::event_start_time` datatype to decimal(10, 4)

## [0.1.3] - 2022-11-02

+ Added - mkdocs deployment
+ Add - mkdocs deployment

## [0.1.2] - 2022-08-26

+ Added - `attribute_blob` as `longblob` in the Attribute tables
+ Added - support storing non-string data types
+ Add - `attribute_blob` as `longblob` in the Attribute tables
+ Add - support storing non-string data types

## [0.1.1] - 2022-06-10

+ Added - NotImplementedError where Imported tables do not offer make function
+ Added - get_trialized_alignment_event_times docstring specificity
+ Changed - Diagram to reflect design with trial.BlockTrial as imported
+ Add - NotImplementedError where Imported tables do not offer make function
+ Add - get_trialized_alignment_event_times docstring specificity
+ Update - Diagram to reflect design with trial.BlockTrial as imported

## [0.1.0] - 2022-05-10

+ Added - Draft based on [Cajal](https://github.com/cajal/pipeline) and [Kavli Institute](https://github.com/kavli-ntnu/dj-docs) precursor projects
+ Added - Table architecture
+ Added - AlignmentEvent design to capture windows relative to an event
+ Added - Black formatting into code base
+ Add - Draft based on [Cajal](https://github.com/cajal/pipeline) and [Kavli Institute](https://github.com/kavli-ntnu/dj-docs) precursor projects
+ Add - Table architecture
+ Add - AlignmentEvent design to capture windows relative to an event
+ Add - Black formatting into code base

[0.2.0]: https://github.com/datajoint/element-event/releases/tag/0.2.0
[0.1.3]: https://github.com/datajoint/element-event/releases/tag/0.1.3
[0.1.2]: https://github.com/datajoint/element-event/releases/tag/0.1.2
[0.1.1]: https://github.com/datajoint/element-event/releases/tag/0.1.1
Expand Down
4 changes: 2 additions & 2 deletions element_event/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,14 @@ class Event(dj.Imported):
Attributes:
BehaviorRecording (foreign key): Behavior recording primary key.
EventType (foreign key): EventType primary key.
event_start_time (float): Time of event onset in seconds, WRT recording start.
event_start_time (decimal(10, 4)): Time of event onset in seconds, WRT recording start.
event_end_time (float): Optional. Seconds WRT recording start.
"""

definition = """
-> BehaviorRecording
-> EventType
event_start_time : float # (second) relative to recording start
event_start_time : decimal(10, 4) # (second) relative to recording start
---
event_end_time=null : float # (second) relative to recording start
"""
Expand Down
2 changes: 1 addition & 1 deletion element_event/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package metadata."""
__version__ = "0.1.2"
__version__ = "0.2.0"

0 comments on commit 35f77ac

Please sign in to comment.