Conversation
…ogress" This reverts commit 7e01a2e.
|
Good stuff Josh! Does anybody know of an S4 analogue to subIsm <- callGeneric(as(x, "InfinitySparseMatrix"), subset, select)-- to harden the code and make unnecessary e4b8f96's workaround at But I'm not sure such a thing exists. Barring an immediate answer from someone, I'm for merging this solution into the master branch and bumping the minor version. |
|
I don't think we previously had tests that subsetting preserved the BISM class. Could you add one of those @nullsatz , and while you're at it check that the presence of names for the |
|
I've added a pretty simpleminded test here Please feel free to improve the wizardry. I also tried to fiddle around with |
|
These tests look good to me! Also, I don't see any need for more methods-fiddling -- if somebody thinks of a nicer way to finesse the line I called out a few comments up on this thread, they can always contribute it later. Were you hoping for Mark's and my reviews both, Josh? If you were just looking for one or the other, pls go ahead and merge. (After bumping the version number from 0.10.8.9001 to 0.10.8.9002, which @kkbrum can then use to check to make sure the optmatch she uses has this particular bug fixed.) |
Added a specific
subsetmethod forBlockedInfinitySparseMatrixthat does "the right thing" for thegroupsmember. Updatedsummary.BlockedInfinitySparseMatrixin a minimal way to prevent infinite recursion onsummary.