Closed unode closed 5 years ago
It's a strange corner case, but I think it could be a good thing to at least issue a warning.
Would you oppose making it into an error instead of warning? Rationale being that if it matches pair.X
but there's no pair.Y
something unexpected happened and the warning might go by unnoticed.
No objection. Never silently screw up is one of the principles that we try to adhere to and I can see how a warning may be too tame.
I'll make it into an error then as soon as I find the time. Thanks for the feedback.
As of 68188edd1909fe773f0e60ac72ee63e2b22afeff an error will be raised if pair.2
exists but pair.1
doesn't.
If the folder contains:
using
load_mocat_sample()
fails with the error:However in the case of:
it succeeds with:
Should we also fail here due to an unpaired
pair.2
and be symmetrical with thepair.1
case?