WIP: Migrate to datajoint v2 - #74
Open
thomasZen wants to merge 35 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This branch already has changes from #72 integrated.
When testing the tutorial schema, make sure to create a new config based on https://github.com/eulerlab/djimaging/blob/migration/datajointv2/djimaging/djconfig/djconf_template.json, adapt the path for processed files, and run the make_user.py script to have access to the updated example notebook, and the mentioned folders for the processed files have to exists already.
The example notebook then partially works already, I have to rerun it and will check it again, though.
Note: datajoint writes a lot of files now into the folders.
To check
Moving Bar Stimulus warning
Snippets multiprocessing
processes=20 lead to some concurrency bug. I think two processes wrote the same metadata file, which lead to an error. Using processes=1 fixed it, but is a slow solution.
Error message with processed=20:
To test