-
Notifications
You must be signed in to change notification settings - Fork 97
add max_allowed_packet and bugfix in insert1 for tuples with null/nan values #183
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
0648bbc
add new substance
fabiansinz b46cd05
transaction context manager checks for transaction
fabiansinz 6306948
small bugfix in transaction context manager
fabiansinz a92924b
transaction context manager now throws a waring if in transaction alr…
fabiansinz 680a7ed
gitlog raises warning when populating with uncommited changes
fabiansinz 5a9b09e
bugfix in insert1 with skip and nan attributes
fabiansinz 464dcbc
set max_allowed_packet in connection
fabiansinz 3c21c9e
remove warnings import in connection
fabiansinz 6628efc
be more verbose on changes
fabiansinz afe3c8f
add test for null and skip insert bug
fabiansinz 3b48c84
make test_datetime a static method
fabiansinz 8ed0dbd
add Dockerfile
fabiansinz b37ee57
add mysql to dockerfile
fabiansinz e52ef6c
make loads of DEFAULT_MODEL python3 compatible
fabiansinz 1e993a6
modify order of config loading (ENV, local, global)
fabiansinz 1efb50c
bugfix in settings loading
fabiansinz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| FROM ubuntu:14.04 | ||
|
|
||
| MAINTAINER Fabian Sinz <sinz@bcm.edu> | ||
|
|
||
|
|
||
| RUN \ | ||
| apt-get update && \ | ||
| apt-get install -y -q \ | ||
| git | ||
|
|
||
| RUN \ | ||
| apt-get update && \ | ||
| apt-get install -y -q \ | ||
| python3 \ | ||
| python3-pip \ | ||
| python3-numpy \ | ||
| python3-scipy \ | ||
| python3-matplotlib \ | ||
| python3-pandas \ | ||
| ipython3 \ | ||
| ipython3-notebook \ | ||
| mysql-server \ | ||
| mysql-client | ||
|
|
||
| RUN pip3 install git+https://github.com/datajoint/datajoint-python.git | ||
|
|
||
| RUN pip3 install git+https://github.com/datajoint/datajoint-addons.git | ||
|
|
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
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the older statement caused some valid fields to be dropped as well? Would you mind adding a test case specifically for this to ensure we don't regress in the future? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This statement is not the problem. I just added
is not Nonebecause it is more explicit. However, I'll add a test case for the bug above.