From b462056e24f8a424c6375a06f5ab5b08929eed92 Mon Sep 17 00:00:00 2001 From: brian Date: Sun, 20 Oct 2024 18:30:59 +0000 Subject: [PATCH] changed folder name to avoid accidental running during test --- {tests => misc}/generate_random_prediction_test.py | 0 {tests => misc}/get_visual_communication_test.py | 0 {tests => misc}/image_download_test.py | 0 {tests => misc}/image_upload_test.py | 0 {tests => misc}/image_upload_to_server_test.py | 0 {tests => misc}/imgs/18-12-14-ESP-01a.jpeg | Bin {tests => misc}/imgs/18-12-14-ESP-01b.jpeg | Bin {tests => misc}/imgs/18-12-14-ESP-01c.jpeg | Bin {tests => misc}/model_io_test.py | 0 .../model_outputs_from_annotation_test.py | 12 ++---------- {tests => misc}/new_model_to_minio_test.py | 0 {tests => misc}/prediction_upload_test.py | 0 {tests => misc}/total_annotated_test.py | 0 {tests => misc}/total_documents_test.py | 0 14 files changed, 2 insertions(+), 10 deletions(-) rename {tests => misc}/generate_random_prediction_test.py (100%) rename {tests => misc}/get_visual_communication_test.py (100%) rename {tests => misc}/image_download_test.py (100%) rename {tests => misc}/image_upload_test.py (100%) rename {tests => misc}/image_upload_to_server_test.py (100%) rename {tests => misc}/imgs/18-12-14-ESP-01a.jpeg (100%) rename {tests => misc}/imgs/18-12-14-ESP-01b.jpeg (100%) rename {tests => misc}/imgs/18-12-14-ESP-01c.jpeg (100%) rename {tests => misc}/model_io_test.py (100%) rename {tests => misc}/model_outputs_from_annotation_test.py (55%) rename {tests => misc}/new_model_to_minio_test.py (100%) rename {tests => misc}/prediction_upload_test.py (100%) rename {tests => misc}/total_annotated_test.py (100%) rename {tests => misc}/total_documents_test.py (100%) diff --git a/tests/generate_random_prediction_test.py b/misc/generate_random_prediction_test.py similarity index 100% rename from tests/generate_random_prediction_test.py rename to misc/generate_random_prediction_test.py diff --git a/tests/get_visual_communication_test.py b/misc/get_visual_communication_test.py similarity index 100% rename from tests/get_visual_communication_test.py rename to misc/get_visual_communication_test.py diff --git a/tests/image_download_test.py b/misc/image_download_test.py similarity index 100% rename from tests/image_download_test.py rename to misc/image_download_test.py diff --git a/tests/image_upload_test.py b/misc/image_upload_test.py similarity index 100% rename from tests/image_upload_test.py rename to misc/image_upload_test.py diff --git a/tests/image_upload_to_server_test.py b/misc/image_upload_to_server_test.py similarity index 100% rename from tests/image_upload_to_server_test.py rename to misc/image_upload_to_server_test.py diff --git a/tests/imgs/18-12-14-ESP-01a.jpeg b/misc/imgs/18-12-14-ESP-01a.jpeg similarity index 100% rename from tests/imgs/18-12-14-ESP-01a.jpeg rename to misc/imgs/18-12-14-ESP-01a.jpeg diff --git a/tests/imgs/18-12-14-ESP-01b.jpeg b/misc/imgs/18-12-14-ESP-01b.jpeg similarity index 100% rename from tests/imgs/18-12-14-ESP-01b.jpeg rename to misc/imgs/18-12-14-ESP-01b.jpeg diff --git a/tests/imgs/18-12-14-ESP-01c.jpeg b/misc/imgs/18-12-14-ESP-01c.jpeg similarity index 100% rename from tests/imgs/18-12-14-ESP-01c.jpeg rename to misc/imgs/18-12-14-ESP-01c.jpeg diff --git a/tests/model_io_test.py b/misc/model_io_test.py similarity index 100% rename from tests/model_io_test.py rename to misc/model_io_test.py diff --git a/tests/model_outputs_from_annotation_test.py b/misc/model_outputs_from_annotation_test.py similarity index 55% rename from tests/model_outputs_from_annotation_test.py rename to misc/model_outputs_from_annotation_test.py index c8181d9..1e1ee35 100644 --- a/tests/model_outputs_from_annotation_test.py +++ b/misc/model_outputs_from_annotation_test.py @@ -2,18 +2,10 @@ from __future__ import annotations from shared.dto import ModelData - if __name__ == '__main__': # instantiate data object - vis_com_list = [ - ModelData.from_random() - for i - in range(3) - ] + vis_com_list = [ModelData.from_random() for i in range(3)] # generate random predictions - [ - vis_com.from_random() - for vis_com in vis_com_list - ] + [vis_com.from_random() for vis_com in vis_com_list] for vis_com in vis_com_list: print(vis_com) diff --git a/tests/new_model_to_minio_test.py b/misc/new_model_to_minio_test.py similarity index 100% rename from tests/new_model_to_minio_test.py rename to misc/new_model_to_minio_test.py diff --git a/tests/prediction_upload_test.py b/misc/prediction_upload_test.py similarity index 100% rename from tests/prediction_upload_test.py rename to misc/prediction_upload_test.py diff --git a/tests/total_annotated_test.py b/misc/total_annotated_test.py similarity index 100% rename from tests/total_annotated_test.py rename to misc/total_annotated_test.py diff --git a/tests/total_documents_test.py b/misc/total_documents_test.py similarity index 100% rename from tests/total_documents_test.py rename to misc/total_documents_test.py