cinemascience / pycinema

cinema engine toolkit
Other
1 stars 4 forks source link

'division by zero' error when using 'cinema explorer' on test databases #39

Closed dhrogers closed 1 year ago

dhrogers commented 1 year ago

The following test databases throw a 'division by zero' error when run with 'cinema explorer path/to/database'. The databases have been created with a script to generate a family of expected cases and edge cases for testing.

To reproduce:

  1. clone repository 'pycinema-testdata' (git clone git@github.com:cinemascience/pycinema-testdata.git)
  2. run 'cinema explorer' on any of the following databases:
    • column-tests/small.cdb
    • column-tests/random-set.cdb
    • column-tests/big.cdb

When the application first comes up, the division by zero error is thrown. Eventually, by selecting large sections of each axis, this error will stop being thrown.

dhrogers commented 1 year ago

Fixed.