From 07f241e71e2e4923158bb2267dfc10547a5ec4f6 Mon Sep 17 00:00:00 2001 From: Geoffrey Woollard Date: Thu, 20 Jun 2024 17:33:19 -0400 Subject: [PATCH] testing data --- .github/workflows/testing.yml | 4 ++-- tests/config_files/test_config_map_to_map.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 65db3c0..352ac5f 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -30,8 +30,8 @@ jobs: - name: Get test data run: | wget https://files.osf.io/v1/resources/8h6fz/providers/dropbox/dataset_2_submissions/submission_0.pt?download=true -O data/dataset_2_submissions/submission_0.pt - wget https://files.osf.io/v1/resources/8h6fz/providers/dropbox/Ground_truth/gt_maps_flat_float16.pt?download=true -O data/gt_maps_flat_float16.pt - wget https://files.osf.io/v1/resources/8h6fz/providers/dropbox/Ground_truth/metadata.csv?download=true -O data/metadata.csv + wget https://files.osf.io/v1/resources/8h6fz/providers/dropbox/Ground_truth/gt_maps_flat_float16.pt?download=true -O tests/data/gt_maps_flat_10.pt + wget https://files.osf.io/v1/resources/8h6fz/providers/dropbox/Ground_truth/metadata.csv?download=true -O tests/data/metadat_10a.csv wget https://files.osf.io/v1/resources/8h6fz/providers/dropbox/Ground_truth/metadata.csv?download=true -O data/mask_dilated_wide_224x224.mrc - name: Test with pytest run: | diff --git a/tests/config_files/test_config_map_to_map.yaml b/tests/config_files/test_config_map_to_map.yaml index 47e5bd1..7a093dc 100644 --- a/tests/config_files/test_config_map_to_map.yaml +++ b/tests/config_files/test_config_map_to_map.yaml @@ -2,13 +2,13 @@ data: n_pix: 224 psize: 2.146 submission: - fname: tests/data/dataset_2_submissions/submission_0.pt + fname: data/dataset_2_submissions/submission_0.pt volume_key: volumes metadata_key: populations label_key: id ground_truth: - volumes: data/gt_maps_flat_float16.pt - metadata: data/metadata.csv + volumes: tests/data/gt_maps_flat_10.pt + metadata: tests/data/metadata_10.csv mask: do: true volume: data/mask_dilated_wide_224x224.mrc