You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the 'bids' domain appears twice, this is warning is displayed. However, I expect this to be very common among multi-root use cases, so we should reconsider this warning.
I see three possibilities:
Re-think the potentially conflicting behavior, given the new invocation patterns, and trigger in that case.
Do some work to predict whether an actual conflict may arise, and trigger only if that is the case.
Remove the warning because there are not actual conflicts.
The text was updated successfully, but these errors were encountered:
Agreed on both the diagnosis and cause. I think at least in the short-term, we can probably go with your third option. I was probably overly cautious, and I don't think one will run into this situation in the real world very often (plus, when one does run into it, in most cases the two domains will be identical anyway, so nothing bad should happen). I'd be fine commenting it out and maybe leaving a comment as a TODO somewhere.
I can do this next time I'm digging around in the code, but it's not a big enough deal for right now. Could be a good chance for a new contributor to get their feet wet, though.
I suspect this is due to a refactoring in which directories, and not domains, are the objects iterated over, but this warning is too-easily triggered:
grabbit/grabbit/core.py
Lines 446 to 450 in a4eb518
For example:
Because the
'bids'
domain appears twice, this is warning is displayed. However, I expect this to be very common among multi-root use cases, so we should reconsider this warning.I see three possibilities:
The text was updated successfully, but these errors were encountered: