-
Notifications
You must be signed in to change notification settings - Fork 9
Standard integration tests, PEP8, docker adjustments #23
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
Conversation
tests/test_ingest.py::test_ingest_subjects PASSED tests/test_ingest.py::test_ingest_sessions PASSED tests/test_ingest.py::test_paramset_insert ERROR tests/test_pipeline_generation.py::test_generate_pipeline PASSED tests/test_populate.py::test_recording_info_populate PASSED tests/test_populate.py::test_processing_populate ERROR ERRORs because AttributeError: module 'collections' has no attribute 'Mapping'
|
@kabilar - After a lot of debugging, I looped back around to the same python 3.10 problem, even when installing from a 3.9 image. I think CaImAn's installation process upgrades python. Wait for With @iamamutt's help, the docker file more user-friendly to pick specific forks. Maybe before Q3, we'll be able to standardize across the elements dockers. Get all CI/CD up-to snuff before major dev on the Y3 additions? |
Co-authored-by: Kabilar Gunalan <[email protected]>
|
If I run the docker compose in detached mode, the log shows passing all tests. If I run without this flag, I see bad connection errors. @kabilar - what do you want to do? docker-compose -f ./docker/docker-compose-test.yaml up --build --force-recreate --detached # success
docker-compose -f ./docker/docker-compose-test.yaml up --build --force-recreate # errors as ...pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'db' ([Errno 111] Connection refused)") |
|
Hi @CBroz1, are the items from the first comment above now addressed?
|
Thanks! I am not sure why this would be the case, but I don't see an issue with reshaping the arrays. Perhaps add any details to Issue #25 and we can address 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.
Thanks @CBroz1! A few minor comments above.
Co-authored-by: Kabilar Gunalan <[email protected]> Co-authored-by: Dimitri Yatsenko <[email protected]>
notebooks: Run Jupytext sync tests/__init__ : set conditional verbose context in constants, remove numpy workflow_mini/paths: list->abc.Sequence docker/docker-compose-test: uncomment volumes
Co-authored-by: Kabilar Gunalan <[email protected]>
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.
Thanks @CBroz1! Great work.
element-calcium-imaging05-exploreJupyter notebook #20dbbad handshakecollections.Mappingerror), even when installing fromdatajoint/djbase:py3.7-debian-8eb1715