From 441cf5a94e73d5eae279c6f45b9d583f1b4961f8 Mon Sep 17 00:00:00 2001 From: shenshan Date: Sat, 27 Feb 2021 02:10:47 +0000 Subject: [PATCH 1/4] Add packages to apt_requirements --- apt_requirements.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/apt_requirements.txt b/apt_requirements.txt index f359f073..b60b47f5 100644 --- a/apt_requirements.txt +++ b/apt_requirements.txt @@ -1 +1,14 @@ libgl1-mesa-glx +libegl1-mesa +libxrandr2 +libxrandr2 +libxss1 +libxcursor1 +libxcomposite1 +libasound2 +libxi6 +libxtst6 +libxi-dev +libxmu-dev +libglu1-mesa-dev +xvfb From 87a4ee35f39152ae8fa111821bf9456b54e93337 Mon Sep 17 00:00:00 2001 From: shenshan Date: Sat, 27 Feb 2021 02:12:55 +0000 Subject: [PATCH 2/4] small bug fix --- ibl_pipeline/histology.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ibl_pipeline/histology.py b/ibl_pipeline/histology.py index adba42f5..c8f5f85c 100755 --- a/ibl_pipeline/histology.py +++ b/ibl_pipeline/histology.py @@ -5,6 +5,7 @@ from tqdm import tqdm from ibllib.pipes.ephys_alignment import EphysAlignment import warnings +from os import environ try: from oneibl.one import ONE From 4bc9d47abbd52ee8c9ee11ab7b3d9ecf4a087720 Mon Sep 17 00:00:00 2001 From: shenshan Date: Mon, 1 Mar 2021 23:57:08 +0000 Subject: [PATCH 3/4] Fixed version of datajoint to 0.12 --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index fc4dc2f4..6b7033df 100755 --- a/setup.py +++ b/setup.py @@ -5,12 +5,12 @@ here = path.abspath(path.dirname(__file__)) setup( - name='ibl_pipeline', - version='0.2.3', + name='ibl-pipeline', + version='0.2.4', description='Datajoint schemas for IBL', author='Vathes', author_email='support@vathes.com', packages=find_packages(exclude=[]), - install_requires=['datajoint>=0.12', 'ibllib>=1.4.11', 'numpy>=1.18.1', 'seaborn>=0.10.0', 'globus_sdk', 'boto3', 'colorlover', 'scikits.bootstrap', 'statsmodels>=0.10.1', 'plotly>=4.1.0'], + install_requires=['datajoint~=0.12', 'ibllib>=1.4.11', 'numpy>=1.18.1', 'seaborn>=0.10.0', 'globus_sdk', 'boto3', 'colorlover', 'scikits.bootstrap', 'statsmodels>=0.10.1', 'plotly>=4.1.0'], scripts=['scripts/ibl-shell.py'], ) From ec3c226e1d0a4a04ee165c542ebb12d63caa6f73 Mon Sep 17 00:00:00 2001 From: shenshan Date: Mon, 1 Mar 2021 23:57:39 +0000 Subject: [PATCH 4/4] Add wheel processing into the cron job. --- scripts/ingest_increment.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/ingest_increment.py b/scripts/ingest_increment.py index b6aa5f3d..407e2bd2 100644 --- a/scripts/ingest_increment.py +++ b/scripts/ingest_increment.py @@ -1,5 +1,8 @@ from ibl_pipeline.process import autoprocess, get_timezone, process_histology, process_qc +from ibl_pipeline.group_shared import wheel autoprocess.process_new(timezone=get_timezone()) process_histology.main() process_qc.main() +wheel.WheelMoveSet.populate(display_progress=True, suppress_errors=True) +wheel.MovementTimes.populate(display_progress=True, suppress_errors=True)