From f686a6e750ec29aaa5920eff5388b8d031150abb Mon Sep 17 00:00:00 2001 From: Elizabeth Berrigan Date: Sun, 12 May 2024 17:44:35 -0700 Subject: [PATCH] add fixtures from sleap-roots-pipeline --- .../rice_10do/scan0K9E8BI.model123.rootcrown.slp | 3 --- .../0K9E8BI.longest_3do_6nodes.predictions.slp | 3 --- .../rice_3do/0K9E8BI.main_3do_6nodes.predictions.slp | 3 --- .../scan0K9E8BI.model123.rootcrown.predictions.slp | 3 --- .../rice_3do/scan0K9E8BI.model123.rootprimary.slp | 3 --- .../rice_3do/scanYR39SJX.model123.rootprimary.slp | 3 --- tests/fixtures/data.py | 12 ++++++++++++ 7 files changed, 12 insertions(+), 18 deletions(-) delete mode 100644 tests/data/rice_10do/scan0K9E8BI.model123.rootcrown.slp delete mode 100644 tests/data/rice_3do/0K9E8BI.longest_3do_6nodes.predictions.slp delete mode 100644 tests/data/rice_3do/0K9E8BI.main_3do_6nodes.predictions.slp delete mode 100644 tests/data/rice_3do/scan0K9E8BI.model123.rootcrown.predictions.slp delete mode 100644 tests/data/rice_3do/scan0K9E8BI.model123.rootprimary.slp delete mode 100644 tests/data/rice_3do/scanYR39SJX.model123.rootprimary.slp diff --git a/tests/data/rice_10do/scan0K9E8BI.model123.rootcrown.slp b/tests/data/rice_10do/scan0K9E8BI.model123.rootcrown.slp deleted file mode 100644 index 9ccf240..0000000 --- a/tests/data/rice_10do/scan0K9E8BI.model123.rootcrown.slp +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ac210cc614d5d77089c9218ff252bb7a3ac4fc4226da68c36d6074731b4538e -size 98718 diff --git a/tests/data/rice_3do/0K9E8BI.longest_3do_6nodes.predictions.slp b/tests/data/rice_3do/0K9E8BI.longest_3do_6nodes.predictions.slp deleted file mode 100644 index b7262f4..0000000 --- a/tests/data/rice_3do/0K9E8BI.longest_3do_6nodes.predictions.slp +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3b219e51441264716706079eb414b06c397dbc790b8f3afd1defe7dc18f14ddf -size 34288 diff --git a/tests/data/rice_3do/0K9E8BI.main_3do_6nodes.predictions.slp b/tests/data/rice_3do/0K9E8BI.main_3do_6nodes.predictions.slp deleted file mode 100644 index 5d81a51..0000000 --- a/tests/data/rice_3do/0K9E8BI.main_3do_6nodes.predictions.slp +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e74285577d7190d8c4cda7d139715930789c65af7a1ee4bc22ede27395e00321 -size 36711 diff --git a/tests/data/rice_3do/scan0K9E8BI.model123.rootcrown.predictions.slp b/tests/data/rice_3do/scan0K9E8BI.model123.rootcrown.predictions.slp deleted file mode 100644 index 5d81a51..0000000 --- a/tests/data/rice_3do/scan0K9E8BI.model123.rootcrown.predictions.slp +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e74285577d7190d8c4cda7d139715930789c65af7a1ee4bc22ede27395e00321 -size 36711 diff --git a/tests/data/rice_3do/scan0K9E8BI.model123.rootprimary.slp b/tests/data/rice_3do/scan0K9E8BI.model123.rootprimary.slp deleted file mode 100644 index b7262f4..0000000 --- a/tests/data/rice_3do/scan0K9E8BI.model123.rootprimary.slp +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3b219e51441264716706079eb414b06c397dbc790b8f3afd1defe7dc18f14ddf -size 34288 diff --git a/tests/data/rice_3do/scanYR39SJX.model123.rootprimary.slp b/tests/data/rice_3do/scanYR39SJX.model123.rootprimary.slp deleted file mode 100644 index 8214dfa..0000000 --- a/tests/data/rice_3do/scanYR39SJX.model123.rootprimary.slp +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4a035b8679865f82547e4c68ada36c6139f5b219f4fac645717ea5b3e311a55d -size 34288 diff --git a/tests/fixtures/data.py b/tests/fixtures/data.py index 0411e6a..ba8f2a8 100644 --- a/tests/fixtures/data.py +++ b/tests/fixtures/data.py @@ -25,6 +25,18 @@ def canola_lateral_slp(): return "tests/data/canola_7do/919QDUH.lateral.predictions.slp" +@pytest.fixture +def rice_pipeline_output_folder(): + """Path to the folder with the output of the rice pipeline.""" + return "tests/data/rice_3do_pipeline_output" + + +@pytest.fixture +def rice_10do_pipeline_output_folder(): + """Path to the folder with the output of the 10 day old rice pipeline.""" + return "tests/data/rice_10do_pipeline_output" + + @pytest.fixture def rice_folder(): """Path to a folder with the predictions for 3 day old rice."""