Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ketos ketos
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • public_projects
  • ketosketos
  • Merge requests
  • !194

Merged
Created Mar 26, 2021 by Oliver Kirsebom@kirsebomOwner

Audio attributes

  • Overview 0
  • Commits 5
  • Pipelines 3
  • Changes 12

This merge request addresses issue #110 (closed) , enabling the tracking of extra attributes present in selection tables. In particular, when creating an hdf5 database from a selection table, the user can set include_attrs=True to ensure that any extra attributes in the selection table gets saved along with every audio object. Alternatively, the user can specify which attributes are to be saved using the argument attrs.

As part of implementing this solution, I removed the option to stack several data arrays inside a single base_audio instance, as this was not being used by anyone but added considerable complexity to the code. Unfortunately, this means that the changes in this merge request are not 100% backward compatible, but I highly doubt that anyone will notice, as the functionalities affected were not being used by anyone (to my best knowledge).

See here for an example of how extra attributes are saved to a database file and retrieved afterwards: https://gitlab.meridian.cs.dal.ca/public_projects/ketos/-/blob/audio_attributes/ketos/tests/data_handling/test_database_interface.py#L734

Edited Mar 26, 2021 by Oliver Kirsebom
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: audio_attributes