Repository navigation
check for error when indexes=None - #315
Conversation
|
Recap here: currently for all sample set statistics with k > 1, Over in #313, @jeromekelleher wrote:
So, the question is, do we want to remove default indexes entirely, for now, to think this through better, later? |
|
This is sensible behaviour, I like it.
I'll have a look tomorrow morning and come back with a proposal. |
|
The natural proposal is that if My main worry was: Suppose you have a script that computes statistics over a bunch of different chocies of windows, or different choices of indexes. You do not want to get outputs of different dimensions. But, this could not happen, unless you put In fact, this "dropping dimensions" would be somewhat helpful. Suppose that I want to plot a horizontal line at the genome-wide divergence value: But, even though I know that and I know that my |
8ec9bc2 to
a111cd8
Compare
Codecov Report
@@ Coverage Diff @@
## master #315 +/- ##
==========================================
+ Coverage 86.42% 86.42% +<.01%
==========================================
Files 20 20
Lines 14098 14100 +2
Branches 2770 2771 +1
==========================================
+ Hits 12184 12186 +2
Misses 987 987
Partials 927 927
Continue to review full report at Codecov.
|
|
This is a sensible update, so I'm going to merge it. I'll then bring #313 up to date with the full proposal for dimension stripping and we can see where we are from there. |
We do have sensible behavior when
indexes=None, but we weren't checking that this made sense given the sample_sets passed in. This does that.