Skip to content

Commit

Permalink
version 0.38.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewcooke committed Dec 21, 2020
1 parent 3b0e800 commit 1f86885
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
26 changes: 17 additions & 9 deletions docs/fit-cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ To check for errors in `myfile.fit`:

> ch2 fix-fit myfile.fit --discard
 INFO: Logging to /home/andrew/.ch2/0-38/logs/fix-fit.log
 WARNING: Could not connect to database

Welcome to Choochoo.

You must configure the database before use (no schema).
You must configure the database before use (no uri).

Please use the ch2 database command.

Expand All @@ -54,7 +55,7 @@ only (with `-v 0` we would see no logging, just the file names).

Welcome to Choochoo.

You must configure the database before use (no schema).
You must configure the database before use (no uri).

Please use the ch2 database command.

Expand All @@ -67,10 +68,11 @@ records:

> ch2 fix-fit myfile.fit --max-delta-t 60 --discard
 INFO: Logging to /home/andrew/.ch2/0-38/logs/fix-fit.log
 WARNING: Could not connect to database

Welcome to Choochoo.

You must configure the database before use (no schema).
You must configure the database before use (no uri).

Please use the ch2 database command.

Expand All @@ -92,10 +94,11 @@ The command to drop data is (see notes below):

> ch2 fix-fit myfile.fit --max-delta-t 60 --drop --fix-header --fix-checksum --max-fwd-len 500 -o fixed.fit
 INFO: Logging to /home/andrew/.ch2/0-38/logs/fix-fit.log
 WARNING: Could not connect to database

Welcome to Choochoo.

You must configure the database before use (no schema).
You must configure the database before use (no uri).

Please use the ch2 database command.

Expand All @@ -120,10 +123,11 @@ can see what records that affected as follows:

> ch2 fit records --after-bytes 4975 myfile.fit
 INFO: Logging to /home/andrew/.ch2/0-38/logs/fit.log
 WARNING: Could not connect to database

Welcome to Choochoo.

You must configure the database before use (no schema).
You must configure the database before use (no uri).

Please use the ch2 database command.

Expand All @@ -145,10 +149,11 @@ present. We can display those too:

> ch2 fit records --after-bytes 4975 --internal myfile.fit
 INFO: Logging to /home/andrew/.ch2/0-38/logs/fit.log
 WARNING: Could not connect to database

Welcome to Choochoo.

You must configure the database before use (no schema).
You must configure the database before use (no uri).

Please use the ch2 database command.

Expand All @@ -161,10 +166,11 @@ We can also see the same data in binary form. For example:

> ch2 fit tokens --after-bytes 4975 myfile.fit
 INFO: Logging to /home/andrew/.ch2/0-38/logs/fit.log
 WARNING: Could not connect to database

Welcome to Choochoo.

You must configure the database before use (no schema).
You must configure the database before use (no uri).

Please use the ch2 database command.

Expand All @@ -183,10 +189,11 @@ follows:

> ch2 fix-fit myfile.fit --slices :05069,05317: --fix-header --fix-checksum -o sliced.fit
 INFO: Logging to /home/andrew/.ch2/0-38/logs/fix-fit.log
 WARNING: Could not connect to database

Welcome to Choochoo.

You must configure the database before use (no schema).
You must configure the database before use (no uri).

Please use the ch2 database command.

Expand All @@ -199,10 +206,11 @@ file (to the best of its ability).

> ch2 fix-fit myfile.fit --start '2018-01-01 12:00:00' --fix-checksum -o fixed.fit
 INFO: Logging to /home/andrew/.ch2/0-38/logs/fix-fit.log
 WARNING: Could not connect to database

Welcome to Choochoo.

You must configure the database before use (no schema).
You must configure the database before use (no uri).

Please use the ch2 database command.

Expand Down
2 changes: 1 addition & 1 deletion py/ch2/commands/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
log = getLogger(__name__)

# this can be modified during development. it will be reset from setup.py on release.
CH2_VERSION = '0.38.0'
CH2_VERSION = '0.38.1'
# new database on minor releases. not sure this will always be a good idea. we will see.
DB_VERSION = '-'.join(CH2_VERSION.split('.')[:2])

Expand Down
2 changes: 1 addition & 1 deletion py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setuptools.setup(name='choochoo',
packages=setuptools.find_packages(),
version='0.38.0',
version='0.38.1',
author='andrew cooke',
author_email='andrew@acooke.org',
description='Data Science for Training',
Expand Down

0 comments on commit 1f86885

Please sign in to comment.