From 5878b7ea2fbea14fb5385b901559c09ed6939960 Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Mon, 22 May 2023 11:59:47 -0500 Subject: [PATCH 1/3] Update init --- tests/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/__init__.py b/tests/__init__.py index 4253ece..09b30d6 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -83,6 +83,14 @@ def pipeline(): pipeline.subject.Subject.delete() +@pytest.fixture(autouse=True) +def test_data(dj_config, pipeline): + root_dirs = pipeline["get_imaging_root_data_dir"] + try: + _ = [find_full_path(root_dirs(), p) for p in sessions_dirs] + except FileNotFoundError: + + @pytest.fixture def subjects_csv(): """Create a 'subjects.csv' file""" From 8c5a79f939893e95afeb8bf5c970ac632617d8e3 Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Thu, 1 Jun 2023 13:25:28 -0500 Subject: [PATCH 2/3] Revert "Update init" This reverts commit 5878b7ea2fbea14fb5385b901559c09ed6939960. --- tests/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/__init__.py b/tests/__init__.py index 09b30d6..4253ece 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -83,14 +83,6 @@ def pipeline(): pipeline.subject.Subject.delete() -@pytest.fixture(autouse=True) -def test_data(dj_config, pipeline): - root_dirs = pipeline["get_imaging_root_data_dir"] - try: - _ = [find_full_path(root_dirs(), p) for p in sessions_dirs] - except FileNotFoundError: - - @pytest.fixture def subjects_csv(): """Create a 'subjects.csv' file""" From 80eafe3a3d0d7cf726bc23f0c3564c852e9c93e6 Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Thu, 1 Jun 2023 13:30:48 -0500 Subject: [PATCH 3/3] Add archive note --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0e5c080..a466b6c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +> ⚠️ This repository is no longer maintained. The notebooks, environment, and tests in this repository have been integrated within [datajoint/element-calcium-imaging](https://github.com/datajoint/element-calcium-imaging). + # DataJoint Workflow - Functional Calcium Imaging DataJoint Workflow for functional calcium imaging combines multiple DataJoint Elements to process data acquired with [ScanImage](http://scanimage.vidriotechnologies.com), [Scanbox](https://scanbox.org), `Nikon