Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue #15 #162

Merged
merged 3 commits into from
Sep 18, 2015
Merged

Fixed issue #15 #162

merged 3 commits into from
Sep 18, 2015

Conversation

dimitri-yatsenko
Copy link
Member

Converging dependencies are now handled correctly in deletes.
Also, rel & [cond1, cond2, ...] now works for any type of conditions, including relations and strings. The conditioned are ORed in this case.


# construct restrictions for each relation
restrict_by_me = set()
restrictions = defaultdict(lambda: list())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That should be defaultdict(list)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are right. Will correct.

eywalker added a commit that referenced this pull request Sep 18, 2015
Fix cascading delete under converging dependencies - issue #15
@eywalker eywalker merged commit 5cedc75 into datajoint:master Sep 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants