Closed weikang9009 closed 1 year ago
Merging #104 (b987685) into main (af7ac57) will increase coverage by
0.27%
. The diff coverage is75.00%
.
@@ Coverage Diff @@
## main #104 +/- ##
==========================================
+ Coverage 52.47% 52.74% +0.27%
==========================================
Files 12 12
Lines 1841 1841
Branches 315 315
==========================================
+ Hits 966 971 +5
+ Misses 819 815 -4
+ Partials 56 55 -1
Impacted Files | Coverage Δ | |
---|---|---|
pointpats/quadrat_statistics.py | 59.13% <75.00%> (+2.68%) |
:arrow_up: |
Good fix @weikang9009!
This PR is to fix an error and missing attributes for quadrat-based statistics:
and
should be used instead of&
as the logical operator between two float numbersrectangle_width
andrectangle_height
are attributes ofRectangleM
but are missing in the docstringsrectangle_width
andrectangle_height
to the constructor method ofQStatistic
to allow users to pass width and height of the grid cells in addition to the number of cells