Problem & Solution Description (including issue #)
When NZDir was trying to obtain the number of chunks needed to perform the computation as ceil(input_lenght/chunk_size). This is wrong when the iterator is executed in Jupyter because in that case it only uses one big chunk.
[ ] I have written unit tests or justified all instances of #pragma: no cover; in the case of a bugfix, a new test that breaks as a result of the bug has been added
[ ] My code contains relevant comments and necessary documentation for future maintainers; the change is reflected in applicable demos/tutorials (with output cleared!) and added/updated docstrings use the NumPy docstring format
[ ] Any breaking changes, described above, are accompanied by backwards compatibility and deprecation warnings
Problem & Solution Description (including issue #)
When
NZDir
was trying to obtain the number of chunks needed to perform the computation asceil(input_lenght/chunk_size)
. This is wrong when the iterator is executed in Jupyter because in that case it only uses one big chunk.Code Quality
#pragma: no cover
; in the case of a bugfix, a new test that breaks as a result of the bug has been added