Skip to content

Commit

Permalink
Add some fixes for the review (#9)
Browse files Browse the repository at this point in the history
* Add fixes for the first review
* fix deploy-test
  • Loading branch information
enra64 committed Dec 9, 2021
1 parent 5f8f9cf commit 036ce21
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ name: Deploy to TestPyPi

on:
push:
branches:
- '**' # run for all branches
branches-ignore:
- 'master' # except master
- 'master'

jobs:
build-n-publish-testing:
Expand Down
11 changes: 11 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2

build:
os: ubuntu-20.04
tools:
python: "3.9"

python:
install:
- method: pip
path: .
5 changes: 5 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ To run a subset of tests::

$ py.test tests.test_jointly


To run all tests::

$ py.test tests.test_jointly

Deploying
---------

Expand Down
8 changes: 8 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
History
=======

1.0.3 (2021-12-09)
------------------

* remove poetry-core version dependency
* add information on running all tests to CONTRIBUTING.rst
* add a statement of need
* add documentation deep links to README.rst
* hopefully fix RTD build

1.0.2 (2021-08-04)
------------------
Expand Down
19 changes: 19 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jointly readme


jointly is a python package for synchronizing sensors with accelerometer data.
You need this package if you're a researcher who has recorded accelerometer data (plus possibly other data) on multiple sensors and want to precisely synchronize the multiple data streams.
Specifically, shake all your sensors in a box before and after a trial, and jointly will find these shakes, remove any temporal offset between sensors, and stretch the data so every clock aligns to a reference sensor.
Jointly ingests and produces ``pandas``' ``DataFrame`` objects.

Expand Down Expand Up @@ -125,6 +126,18 @@ in the ``DataFrame`` will be synchronized together with that column.
with tempfile.TemporaryDirectory() as tmp_dir:
synchronizer.save_pickles(tmp_dir)
Documentation Deep Links
~~~~~~~~~~~~~~~~~~~~~~~~

Here you can find more information on specific topics:

* `Preparing Data for Ingestion`_
* `Tuning the Shake Detection`_
* `Debugging the Shake Detection`_
* `How to Save the Synchronized Data`_
* `How to Enable Logging`_
* `Full Explanation of the Synchronization`_

Template Credits
----------------

Expand All @@ -133,3 +146,9 @@ This package was created with Cookiecutter_ and the `pyOpenSci/cookiecutter-pyop
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`pyOpenSci/cookiecutter-pyopensci`: https://github.com/pyOpenSci/cookiecutter-pyopensci
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
.. _`Preparing Data for Ingestion`: https://jointly.readthedocs.io/en/latest/usage.html#preparing-data-for-ingestion
.. _`Tuning the Shake Detection`: https://jointly.readthedocs.io/en/latest/usage.html#tuning-shake-detection
.. _`Debugging the Shake Detection`: https://jointly.readthedocs.io/en/latest/usage.html#debugging
.. _`How to Save the Synchronized Data`: https://jointly.readthedocs.io/en/latest/usage.html#saving-data
.. _`How to Enable Logging`: https://jointly.readthedocs.io/en/latest/usage.html#logging
.. _`Full Explanation of the Synchronization`: https://jointly.readthedocs.io/en/latest/background.html#the-syncing-process
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "jointly"
version = "1.0.2"
version = "1.0.3"
description = "Synchronize sensor data from accelerometer shakes"
authors = [
"Ariane Morassi Sasso <ariane.morassi-sasso@hpi.de>",
Expand Down Expand Up @@ -47,5 +47,5 @@ pyproject-flake8 = "^0.0.1-alpha.2"
pyarrow = "^5.0.0"

[build-system]
requires = ["poetry-core>=1.2.0"]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 036ce21

Please sign in to comment.