Coverage report: 43%

Files Functions Classes

coverage.py v7.6.0, created at 2024-07-17 04:01 +0000

File function statements missing excluded coverage
bbconf/__init__.py (no function) 8 0 0 100%
bbconf/_version.py (no function) 1 0 0 100%
bbconf/bbagent.py BedBaseAgent.__init__ 4 4 0 0%
bbconf/bbagent.py BedBaseAgent.bed 1 1 0 0%
bbconf/bbagent.py BedBaseAgent.bedset 1 1 0 0%
bbconf/bbagent.py BedBaseAgent.objects 1 1 0 0%
bbconf/bbagent.py BedBaseAgent.get_stats 5 5 0 0%
bbconf/bbagent.py BedBaseAgent.list_of_licenses 4 4 0 0%
bbconf/bbagent.py (no function) 23 0 0 100%
bbconf/config_parser/__init__.py (no function) 2 0 0 100%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.__init__ 9 9 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig._read_config_file 8 8 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.config 1 1 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.db_engine 1 1 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.t2bsi 1 1 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.b2bsi 1 1 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.r2v 1 1 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.qdrant_engine 1 1 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.phc 1 1 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.boto3_client 1 1 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.zarr_root 10 10 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig._init_db_engine 1 1 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig._init_qdrant_backend 5 5 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig._init_t2bsi_object 6 6 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig._init_b2bsi_object 6 6 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig._init_pephubclient 6 6 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig._init_boto3_client 6 6 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig._init_r2v_object 1 1 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.upload_s3 7 7 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.upload_files_s3 24 24 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.delete_s3 8 8 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.delete_files_s3 5 5 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.get_prefixed_uri 6 6 0 0%
bbconf/config_parser/bedbaseconfig.py BedBaseConfig.construct_access_method_list 5 5 0 0%
bbconf/config_parser/bedbaseconfig.py (no function) 63 0 0 100%
bbconf/config_parser/const.py (no function) 20 0 0 100%
bbconf/config_parser/models.py ConfigDB.url 1 1 0 0%
bbconf/config_parser/models.py ConfigS3.validate_aws_credentials 3 3 0 0%
bbconf/config_parser/models.py ConfigS3.modify_access 4 4 0 0%
bbconf/config_parser/models.py ConfigFile.from_yaml 1 1 0 0%
bbconf/config_parser/models.py (no function) 64 0 0 100%
bbconf/const.py (no function) 5 0 0 100%
bbconf/db_utils.py SchemaError.__init__ 1 1 0 0%
bbconf/db_utils.py compile_bigserial_pg 1 1 0 0%
bbconf/db_utils.py compile_jsonb_pg 1 1 0 0%
bbconf/db_utils.py receive_after_create 4 4 0 0%
bbconf/db_utils.py deliver_update_date 1 1 0 0%
bbconf/db_utils.py add_bed_universe 4 4 0 0%
bbconf/db_utils.py delete_bed_universe 4 4 0 0%
bbconf/db_utils.py BaseEngine.__init__ 5 5 0 0%
bbconf/db_utils.py BaseEngine.create_schema 8 8 0 0%
bbconf/db_utils.py BaseEngine.delete_schema 4 4 0 0%
bbconf/db_utils.py BaseEngine.session_execute 4 4 0 0%
bbconf/db_utils.py BaseEngine.session 1 1 0 0%
bbconf/db_utils.py BaseEngine.engine 1 1 0 0%
bbconf/db_utils.py BaseEngine._start_session 6 6 0 0%
bbconf/db_utils.py BaseEngine.check_db_connection 4 4 0 0%
bbconf/db_utils.py BaseEngine.create_schema_graph 3 3 0 0%
bbconf/db_utils.py BaseEngine._upload_licenses 6 6 0 0%
bbconf/db_utils.py (no function) 146 0 0 100%
bbconf/exceptions.py (no function) 29 0 0 100%
bbconf/helpers.py get_bedbase_cfg 4 4 0 0%
bbconf/helpers.py get_absolute_path 3 3 0 0%
bbconf/helpers.py (no function) 8 0 0 100%
bbconf/models/__init__.py (no function) 0 0 0 100%
bbconf/models/base_models.py (no function) 17 0 0 100%
bbconf/models/bed_models.py (no function) 116 0 0 100%
bbconf/models/bedset_models.py (no function) 26 0 0 100%
bbconf/models/drs_models.py (no function) 21 0 0 100%
bbconf/modules/__init__.py (no function) 0 0 0 100%
bbconf/modules/bedfiles.py BedAgentBedFile.__init__ 6 6 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.get 34 34 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.get_stats 7 7 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.get_plots 10 10 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.get_files 10 10 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.get_raw_metadata 6 6 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.get_classification 7 7 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.get_objects 9 9 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.get_embedding 6 6 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.get_ids_list 16 16 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.add 52 52 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.update 30 30 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.delete 16 16 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.upload_pephub 4 4 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.update_pephub 4 4 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.delete_pephub_sample 4 4 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.upload_file_qdrant 14 14 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.text_to_bed_search 14 14 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.bed_to_bed_search 12 12 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.reindex_qdrant 17 17 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.delete_qdrant_point 2 2 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.create_qdrant_collection 1 1 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.exists 6 6 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.exists_universe 6 6 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.add_universe 8 8 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.delete_universe 6 6 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.add_tokenized 14 14 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile._add_zarr_s3 9 9 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.get_tokenized 4 4 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.delete_tokenized 9 9 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile._get_tokenized_path 6 6 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.exist_tokenized 6 6 0 0%
bbconf/modules/bedfiles.py BedAgentBedFile.get_tokenized_link 2 2 0 0%
bbconf/modules/bedfiles.py (no function) 53 0 0 100%
bbconf/modules/bedsets.py BedAgentBedSet.__init__ 2 2 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.get 15 15 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.get_plots 10 10 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.get_objects 9 9 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.get_statistics 6 6 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.create 38 38 0 0%
bbconf/modules/bedsets.py BedAgentBedSet._calculate_statistics 13 13 0 0%
bbconf/modules/bedsets.py BedAgentBedSet._create_pephub_view 8 8 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.get_ids_list 13 13 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.get_bedset_bedfiles 6 6 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.delete 12 12 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.delete_phc_view 8 8 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.exists 6 6 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.add_bedfile 1 1 0 0%
bbconf/modules/bedsets.py BedAgentBedSet.delete_bedfile 1 1 0 0%
bbconf/modules/bedsets.py (no function) 28 0 0 100%
bbconf/modules/objects.py BBObjects.__init__ 3 3 0 0%
bbconf/modules/objects.py BBObjects.get_thumbnail_uri 5 5 0 0%
bbconf/modules/objects.py BBObjects.get_object_uri 2 2 0 0%
bbconf/modules/objects.py BBObjects._get_result 16 16 0 0%
bbconf/modules/objects.py BBObjects.get_drs_metadata 9 9 0 0%
bbconf/modules/objects.py BBObjects.construct_drs_metadata 3 3 0 0%
bbconf/modules/objects.py (no function) 18 0 0 100%
tests/__init__.py (no function) 0 0 0 100%
tests/conftest.py get_bbagent 1 1 0 0%
tests/conftest.py bbagent_obj 1 1 0 0%
tests/conftest.py example_bedset_plot 1 1 0 0%
tests/conftest.py example_dict 4 4 0 0%
tests/conftest.py load_test_data 1 1 0 0%
tests/conftest.py mocked_phc 1 1 0 0%
tests/conftest.py (no function) 29 2 0 93%
tests/test_bedfile.py test_bb_database 2 2 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_upload 5 5 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_upload_exists 5 5 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_add_nofail 6 6 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_all 11 11 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_all_not_found 9 9 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_raw_metadata 4 4 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_stats 4 4 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_files 4 4 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_plots 4 4 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_objects 4 4 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_classification 4 4 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_list 7 7 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_list_genome_true 7 7 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_list_genome_false 4 4 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_list_bed_type_true 7 7 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_list_bed_type_false 4 4 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_get_list_bed_offset 5 5 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_bed_delete 9 9 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_bed_delete_not_found 3 3 0 0%
tests/test_bedfile.py Test_BedFile_Agent.test_bed_update 1 1 0 0%
tests/test_bedfile.py TestVectorSearch.test_qdrant_search 4 4 0 0%
tests/test_bedfile.py TestVectorSearch.test_delete_qdrant_point 2 2 0 0%
tests/test_bedfile.py TestVectorSearch.test_create_qdrant_collection 4 4 0 0%
tests/test_bedfile.py (no function) 39 0 0 100%
tests/test_bedset.py TestBedset.test_calculate_stats 5 5 0 0%
tests/test_bedset.py TestBedset.test_crate_bedset_all 8 8 0 0%
tests/test_bedset.py TestBedset.test_get_metadata_full 7 7 0 0%
tests/test_bedset.py TestBedset.test_get_metadata_not_full 6 6 0 0%
tests/test_bedset.py TestBedset.test_get_not_found 3 3 0 0%
tests/test_bedset.py TestBedset.test_get_object 3 3 0 0%
tests/test_bedset.py TestBedset.test_get_plots 3 3 0 0%
tests/test_bedset.py TestBedset.test_get_stats 4 4 0 0%
tests/test_bedset.py TestBedset.test_get_bedset_list 7 7 0 0%
tests/test_bedset.py TestBedset.test_get_bedset_list_offset 5 5 0 0%
tests/test_bedset.py TestBedset.test_get_idset_list_query_found 6 6 0 0%
tests/test_bedset.py TestBedset.test_get_idset_list_query_fail 6 6 0 0%
tests/test_bedset.py TestBedset.test_get_get_bedset_bedfiles 4 4 0 0%
tests/test_bedset.py TestBedset.test_delete 4 4 0 0%
tests/test_bedset.py TestBedset.test_delete_none 5 5 0 0%
tests/test_bedset.py TestBedset.test_delete_s3_error 3 3 0 0%
tests/test_bedset.py (no function) 26 0 0 100%
tests/test_common.py test_get_stats 6 6 0 0%
tests/test_common.py test_get_licenses 3 3 0 0%
tests/test_common.py (no function) 8 0 0 100%
tests/test_objects.py TestObjects.test_object_path 3 3 0 0%
tests/test_objects.py TestObjects.test_object_path_error 3 3 0 0%
tests/test_objects.py TestObjects.test_object_path_thumbnail 3 3 0 0%
tests/test_objects.py TestObjects.test_object_path_thumbnail_error 3 3 0 0%
tests/test_objects.py TestObjects.test_object_metadata 3 3 0 0%
tests/test_objects.py test_create_schema_graph 4 4 0 0%
tests/test_objects.py (no function) 13 0 0 100%
tests/test_universes.py TestUniverses.test_add 7 7 0 0%
tests/test_universes.py TestUniverses.test_delete_universe 5 5 0 0%
tests/test_universes.py TestUniverses.test_add_universe_error 3 3 0 0%
tests/test_universes.py TestUniverses.test_add_get_tokenized 9 9 0 0%
tests/test_universes.py TestUniverses.test_get_tokenized 1 1 0 0%
tests/test_universes.py (no function) 11 0 0 100%
tests/utils.py get_example_dict 2 2 0 0%
tests/utils.py get_bedset_files 1 1 0 0%
tests/utils.py get_files 1 1 0 0%
tests/utils.py get_plots 1 1 0 0%
tests/utils.py ContextManagerDBTesting.__init__ 7 7 0 0%
tests/utils.py ContextManagerDBTesting.__enter__ 4 4 0 0%
tests/utils.py ContextManagerDBTesting.__exit__ 1 1 0 0%
tests/utils.py ContextManagerDBTesting._add_data 10 10 0 0%
tests/utils.py ContextManagerDBTesting._add_bedset_data 8 8 0 0%
tests/utils.py ContextManagerDBTesting._add_universe 5 5 0 0%
tests/utils.py (no function) 18 0 0 100%
Total   1846 1056 0 43%

No items found using the specified filter.