From 8ef98352266854b97e0b97131be6d7c0f93d3c55 Mon Sep 17 00:00:00 2001 From: grololo06 Date: Thu, 9 Feb 2023 19:08:07 +0100 Subject: [PATCH] ecotaxa/ecotaxa_front#764: A bit more realistic test data, all tests aligned. --- .../ecotaxa_m106_mn01_n4_sml.tsv | 10 ++++++++++ .../m106_mn01_n4_sml/m106_mn04_n1_sml_409.jpg | Bin 0 -> 3386 bytes .../ecotaxa_m106_mn01_n3_sml.tsv | 4 ++-- .../ref_exports/abundances_by_sample/ref.tsv | 5 ++++- .../ref.tsv | 4 ++-- .../ref_exports/abundances_by_subsample/ref.tsv | 5 ++++- .../abundances_whole_project/ref.tsv | 3 ++- .../ecotaxa_m106_mn01_n3_sml.tsv | 4 ++-- .../ecotaxa_m106_mn01_n3_sml.tsv | 4 ++-- .../ref_exports/biovolumes_by_sample/ref.tsv | 6 +++++- .../ref_exports/biovolumes_by_subsample/ref.tsv | 9 ++++++++- .../concentrations_by_sample/ref.tsv | 6 +++++- .../data/ref_exports/summary_per_sample/ref.tsv | 2 +- .../ref_exports/summary_per_subsample/ref.tsv | 2 +- QA/py/data/ref_exports/summary_whole/ref.tsv | 3 ++- .../ecotaxa_m106_mn01_n3_sml.tsv | 2 +- QA/py/pg_files/data_load.sql | 16 +++++++++++++--- QA/py/tests/export_shared.py | 3 ++- QA/py/tests/test_export_emodnet.py | 5 +++-- QA/py/tests/test_export_sci.py | 1 + QA/py/tests/test_prj_admin.py | 2 +- 21 files changed, 71 insertions(+), 25 deletions(-) create mode 100644 QA/py/data/import_just_predicted/m106_mn01_n4_sml/ecotaxa_m106_mn01_n4_sml.tsv create mode 100644 QA/py/data/import_just_predicted/m106_mn01_n4_sml/m106_mn04_n1_sml_409.jpg diff --git a/QA/py/data/import_just_predicted/m106_mn01_n4_sml/ecotaxa_m106_mn01_n4_sml.tsv b/QA/py/data/import_just_predicted/m106_mn01_n4_sml/ecotaxa_m106_mn01_n4_sml.tsv new file mode 100644 index 00000000..13bb2c4a --- /dev/null +++ b/QA/py/data/import_just_predicted/m106_mn01_n4_sml/ecotaxa_m106_mn01_n4_sml.tsv @@ -0,0 +1,10 @@ +object_new_field object_id object_lat object_lon object_date object_time object_link object_depth_min object_depth_max object_annotation_status object_annotation_person_name object_annotation_person_email object_annotation_date object_annotation_time object_annotation_category object_annotation_category_id img_file_name img_rank object_by object_width object_height object_area object_mean object_major object_minor object_feret object_area_exc object_thickr object_esd object_elongation object_range object_meanpos object_centroids object_cv object_sr object_perimareaexc object_feretareaexc object_perimferet object_perimmajor object_circex object_cdexc object_kurt_mean object_skew_mean object_convperim_perim object_convarea_area object_symetrieh_area object_symetriev_area object_nb1_area object_nb2_area object_nb3_area object_nb1_range object_nb2_range object_nb3_range object_median_mean object_median_mean_range object_skeleton_area sample_id sample_tot_vol sample_dataportal_descriptor sample_ship sample_samplinggear sample_volconc sample_comment process_id acq_sub_part process_software process_start_date process_start_time process_analysed_color_channel process_background_method process_nb_images process_rolling process_pixel process_upper process_gamma_value process_vignette_color process_esd_min process_esd_max process_lut_offset process_lut_slope process_remove_objects_on_sides process_stop_n_images process_scale process_stop_after_m_objects process_nb_of_rawfile_images_in_folder process_grey_auto_adjust acq_id acq_instrument acq_cell_type acq_magnification +[f] [t] [f] [f] [t] [t] [t] [f] [f] [t] [t] [t] [t] [t] [t] [t] [t] [t] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] +1 m106_mn04_n1_sml_409 18 -24.4166666666667 20140420 420 600 1000 predicted Admin4test me@home.fr 20151111 153100 t001 85012 m106_mn04_n1_sml_409.jpg 10262 46 94 516 241.039993286133 50.0999984741211 13.1000003814697 102.599998474121 4 2 m106_mn04_n4_sml NaN meteor net 13.125 xx zooprocess_m106_mn04_n1_sml 2 zooprocess_pid_to_ecotaxa_7.23_2017/03/10 20150829 2243 rolling_ball 2 20 10.6 245 2 b&w_no_background 200 1000 0 1 yes 1 2 generic_m106_mn04_n1_sml epson 200-500 1 +2 m106_mn04_n1_sml_821 18 -24.4166666666667 20140420 420 600 1000 predicted Taxo Finder taxo.finder@gmail.com 20151111 153100 Oncaeidae 78418 m106_mn04_n1_sml_409.jpg 0 9811 65 54 1401 202.039993286133 70.1999969482422 25.3999996185303 73.1999969482422 0 2.5 m106_mn04_n4_sml NaN meteor net 13.125 xx zooprocess_m106_mn04_n1_sml 4 zooprocess_pid_to_ecotaxa_7.23_2017/03/10 20150829 2243 rolling_ball 2 20 10.6 245 2 b&w_no_background 200 1000 0 1 yes 1 2 generic_m106_mn04_n1_sml epson 200-500 1 +3 m106_mn04_n1_sml_822 18 -24.4166666666667 20140420 420 600 1000 predicted Taxo Finder taxo.finder@gmail.com 20151111 153100 detritus 84963 m106_mn04_n1_sml_409.jpg 0 9866 33 51 733 200.25 48.7999992370605 19.1000003814697 51.5999984741211 0 2.82399988174438 m106_mn04_n4_sml NaN meteor net 13.125 xx zooprocess_m106_mn04_n1_sml 8 zooprocess_pid_to_ecotaxa_7.23_2017/03/10 20150829 2243 rolling_ball 2 20 10.6 245 2 b&w_no_background 200 1000 0 1 yes 1 2 generic_m106_mn04_n1_sml epson 200-500 1 +4 m106_mn04_n1_sml_850 18 -24.4166666666667 20140420 420 600 1000 predicted Taxo Finder taxo.finder@gmail.com 20151111 153100 Oncaeidae 78418 m106_mn04_n1_sml_409.jpg 0 10787 42 47 1583 222.789993286133 48.9000015258789 41.2000007629395 53.0999984741211 100 2.64299988746643 m106_mn04_n5_sml foo meteor net 13.125 xx zooprocess_m106_mn04_n1_sml 8 zooprocess_pid_to_ecotaxa_7.23_2017/03/10 20150829 2243 rolling_ball 2 20 10.6 245 2 b&w_no_background 200 1000 0 1 yes 1 2 generic_m106_mn04_n12_sml epson 200-500 1 +5 m106_mn04_n1_sml_851 18 -24.4166666666667 20140420 420 600 1000 predicted Taxo Finder taxo.finder@gmail.com 20151111 153100 detritus 84963 m106_mn04_n1_sml_409.jpg 0 10823 47 69 1511 192.240005493164 60.7000007629395 31.7000007629395 70.5999984741211 3 2 m106_mn04_n5_sml foo meteor net 13.125 xx zooprocess_m106_mn04_n1_sml 8 zooprocess_pid_to_ecotaxa_7.23_2017/03/10 20150829 2243 rolling_ball 2 20 10.6 245 2 b&w_no_background 200 1000 0 1 yes 1 2 generic_m106_mn04_n12_sml epson 200-500 1 +6 m106_mn04_n1_sml_852 18 -24.4166666666667 20140420 420 600 1000 predicted Taxo Finder taxo.finder@gmail.com 20151111 153100 Oncaeidae 78418 m106_mn04_n1_sml_409.jpg 0 10787 42 47 1583 222.789993286133 48.9000015258789 41.2000007629395 53.0999984741211 100 2.64299988746643 m106_mn04_n6_sml 2000 meteor net 13.125 xx zooprocess_m106_mn04_n1_sml hi zooprocess_pid_to_ecotaxa_7.23_2017/03/10 20150829 2243 rolling_ball 2 20 10.6 245 2 b&w_no_background 200 1000 0 1 yes 1 2 generic_m106_mn04_n13_sml epson 200-500 1 +7 m106_mn04_n1_sml_853 18 -24.4166666666667 20140420 420 600 1000 predicted Taxo Finder taxo.finder@gmail.com 20151111 153100 detritus 84963 m106_mn04_n1_sml_409.jpg 0 10787 42 47 1583 222.789993286133 48.9000015258789 41.2000007629395 53.0999984741211 100 2.64299988746643 m106_mn04_n6_sml 2000 meteor net 13.125 xx zooprocess_m106_mn04_n1_sml NaN zooprocess_pid_to_ecotaxa_7.23_2017/03/10 20150829 2243 rolling_ball 2 20 10.6 245 2 b&w_no_background 200 1000 0 1 yes 1 2 generic_m106_mn04_n13_sml epson 200-500 1 +8 m106_mn04_n1_sml_854 18 -24.4166666666667 20140420 420 600 1000 predicted Taxo Finder taxo.finder@gmail.com 20151111 153100 Cyclopoida 45072 m106_mn04_n1_sml_409.jpg 0 10787 42 47 1583 222.789993286133 48.9000015258789 41.2000007629395 53.0999984741211 100 2.64299988746643 m106_mn04_n6_sml 2000 meteor net 13.125 xx zooprocess_m106_mn04_n1_sml b zooprocess_pid_to_ecotaxa_7.23_2017/03/10 20150829 2243 rolling_ball 2 20 10.6 245 2 b&w_no_background 200 1000 0 1 yes 1 2 generic_m106_mn04_n13_sml epson 200-500 1 diff --git a/QA/py/data/import_just_predicted/m106_mn01_n4_sml/m106_mn04_n1_sml_409.jpg b/QA/py/data/import_just_predicted/m106_mn01_n4_sml/m106_mn04_n1_sml_409.jpg new file mode 100644 index 0000000000000000000000000000000000000000..fe2221dc3d1f823026c96f87ba1f6d18a1e31abc GIT binary patch literal 3386 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 literal 0 HcmV?d00001 diff --git a/QA/py/data/import_test_plus/m106_mn01_n3_sml/ecotaxa_m106_mn01_n3_sml.tsv b/QA/py/data/import_test_plus/m106_mn01_n3_sml/ecotaxa_m106_mn01_n3_sml.tsv index 87caa2eb..98516ec3 100644 --- a/QA/py/data/import_test_plus/m106_mn01_n3_sml/ecotaxa_m106_mn01_n3_sml.tsv +++ b/QA/py/data/import_test_plus/m106_mn01_n3_sml/ecotaxa_m106_mn01_n3_sml.tsv @@ -2,5 +2,5 @@ object_id object_extra object_lat object_lon object_date object_time object_link [t] [t] [f] [f] [t] [t] [t] [f] [f] [t] [t] [t] [t] [t] [t] [t] [t] [t] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [f] [t] [t] [t] [t] [t] [t] [t] [t] [f] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [t] [f] m106_mn01_n3_sml_1 Extra1 18.0 -24.4166666666667 20140420 420 300.0 600.0 predicted Elizandro Rodriguez elizandro.rodrigues05@gmail.com 20151111 153100 detritus 84963 m106_mn01_n3_sml_1.png 14.0 25.0 26.0 413.0 175.529998779297 24.7000007629395 21.2999992370605 27.2999992370605 0.0 2.0 m106_mn01_n3_sml 2014_m106_sml meteor m106_mn01_n3_sml net 9.75 xx zooprocess_m106_mn01_n3_sml zooprocess_pid_to_ecotaxa_7.23_2017/03/10 20150829 2256 rolling_ball 2 20 10.6 245 2 b&w_no_background 200 1000 0 1 yes 1 2 generic_m106_mn01_n3_sml epson 200-500 1 m106_mn01_n3_sml_1081 Extra2 18.0 -24.4166666666667 20140420 420 300.0 600.0 predicted Elizandro Rodriguez elizandro.rodrigues05@gmail.com 20151111 153100 detritus 84963 m106_mn01_n3_sml_1081.jpg 9940.0 56.0 38.0 929.0 222.75 44.2000007629395 26.7999992370605 58.2000007629395 9.0 1.86000001430511 m106_mn01_n3_sml 2014_m106_sml meteor m106_mn01_n3_sml net 9.75 xx zooprocess_m106_mn01_n3_sml zooprocess_pid_to_ecotaxa_7.23_2017/03/10 20150829 2256 rolling_ball 2 20 10.6 245 2 b&w_no_background 200 1000 0 1 yes 1 2 generic_m106_mn01_n3_sml epson 200-500 1 -m106_mn01_n3_sml_1111 Extra3 18.0 -24.4166666666667 20140421 420 300.0 600.0 predicted Elizandro Rodriguez elizandro.rodrigues05@gmail.com 20151111 153100 eggdetritus" "" 14.0 25.0 26.0 413.0 175.529998779297 24.7000007629395 21.2999992370605 27.2999992370605 0.0 2.0 "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "Extra1" "m106_mn01_n3_sml" "" "2014_m106_sml" "meteor" "m106_mn01_n3_sml" "net" "9.75" "xx" "" "zooprocess_m106_mn01_n3_sml" "zooprocess_pid_to_ecotaxa_7.23_2017/03/10" "20150829" "2256" "" "rolling_ball" "2" "20" "10.6" "245" "2" "b&w_no_background" "200" "1000" "0" "1" "yes" "" "1" "" "2" "" "generic_m106_mn01_n3_sml" "epson" "200-500" "1" "" "m106_mn01_n3_sml_1081" 18.0 -24.4166666666667 "20140420" "042000" "" 300.0 600.0 "predicted" "Application Administrator" "administrator" "20151111" "153100" "detritus" "living>detritus" "" 9940.0 56.0 38.0 929.0 222.75 44.2000007629395 26.7999992370605 58.2000007629395 9.0 1.86000001430511 "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "Extra2" "m106_mn01_n3_sml" "" "2014_m106_sml" "meteor" "m106_mn01_n3_sml" "net" "9.75" "xx" "" "zooprocess_m106_mn01_n3_sml" "zooprocess_pid_to_ecotaxa_7.23_2017/03/10" "20150829" "2256" "" "rolling_ball" "2" "20" "10.6" "245" "2" "b&w_no_background" "200" "1000" "0" "1" "yes" "" "1" "" "2" "" "generic_m106_mn01_n3_sml" "epson" "200-500" "1" "" -"m106_mn01_n3_sml_1111" 18.0 -24.4166666666667 "20140421" "042000" "" 300.0 600.0 "predicted" "Application Administrator" "administrator" "20151111" "153100" "eggegg" "" 10961.0 23.0 28.0 490.0 210.800003051758 27.0 23.1000003814697 29.2000007629395 0.0 2.0 1.86 "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "Extra3" "m106_mn01_n3_sml" "" "2014_m106_sml" "meteor" "m106_mn01_n3_sml" "net" "9.75" "xx" "" "zooprocess_m106_mn01_n3_sml" "zooprocess_pid_to_ecotaxa_7.23_2017/03/10" "20150829" "2256" "" "rolling_ball" "2" "20" "10.6" "245" "2" "b&w_no_background" "200" "1000" "0" "1" "yes" "" "1" "" "2" "" "generic_m106_mn01_n3_sml" "epson" "200-500" "1" "" +"m106_mn01_n3_sml_1111" 18.0 -24.4166666666667 "20140421" "042000" "" 300.0 600.0 "predicted" "Application Administrator" "administrator" "20151111" "153100" "smallEukaryota>Opisthokonta>Holozoa>Metazoa>Chordata>Craniata>Vertebrata>Gnathostomata>Actinopterygii>egg>small" "" 10961.0 23.0 28.0 490.0 210.800003051758 27.0 23.1000003814697 29.2000007629395 0.0 2.0 1.86 "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "Extra3" "m106_mn01_n3_sml" "" "2014_m106_sml" "meteor" "m106_mn01_n3_sml" "net" "9.75" "xx" "" "zooprocess_m106_mn01_n3_sml" "zooprocess_pid_to_ecotaxa_7.23_2017/03/10" "20150829" "2256" "" "rolling_ball" "2" "20" "10.6" "245" "2" "b&w_no_background" "200" "1000" "0" "1" "yes" "" "1" "" "2" "" "generic_m106_mn01_n3_sml" "epson" "200-500" "1" "" diff --git a/QA/py/pg_files/data_load.sql b/QA/py/pg_files/data_load.sql index dfd83106..8e8fda9c 100644 --- a/QA/py/pg_files/data_load.sql +++ b/QA/py/pg_files/data_load.sql @@ -27,6 +27,10 @@ COPY public.users_roles (user_id, role_id) FROM stdin; 6 3 \. +-- The used ones are in first +-- e.g. to get some data with lineage: +-- ecotaxa4=# copy (select * from taxonomy where id in (92731, 85117, 56693, 25928, 16656, 12861,11513,2367,382,8)) to '/tmp/cp.sql'; +-- in case of problem during tests, 'data_load.log' in tests can show the COPY issues COPY public.taxonomy (id, parent_id, name, id_source, nbrobj, nbrobjcum, creation_datetime, creator_email, display_name, id_instance, lastupdate_datetime, rename_to, source_desc, source_url, taxostatus, taxotype) FROM stdin; 45072 1 Cyclopoida 48740 68979 502724 \N \N Cyclopoida \N 2018-01-02 00:00:00 \N \N \N A P 78418 1 Oncaeidae 87064 199577 64180 \N \N Oncaeidae \N 2018-01-02 00:00:00 \N \N \N A P @@ -35,6 +39,15 @@ COPY public.taxonomy (id, parent_id, name, id_source, nbrobj, nbrobjcum, creatio 99999 1 other m004 0 0 \N \N other Remove 84963: None, # detritus -> Remove 85078: 78418, # egg Oncaeidae + 92731: 78418, # small Oncaeidae }}) req_and_filters = {"filters": filters, "request": req} diff --git a/QA/py/tests/test_prj_admin.py b/QA/py/tests/test_prj_admin.py index 93b9bf0a..2e21d45d 100644 --- a/QA/py/tests/test_prj_admin.py +++ b/QA/py/tests/test_prj_admin.py @@ -29,7 +29,7 @@ def test_project_stats(config, database, fastapi, caplog): assert rsp.status_code == 200 assert rsp.json() == [{'nb_dubious': 0, 'nb_predicted': 11, 'nb_unclassified': 0, 'nb_validated': 0, 'projid': prj_id, - 'used_taxa': [45072, 78418, 84963, 85011, 85012, 85078]}] + 'used_taxa': [45072, 78418, 84963, 85011, 85012, 85078, 92731]}] # Get free column statistics url = PROJECT_FREE_COLS_STATS_URL.format(project_id=prj_id)