Coverage report: 30%

Files Functions Classes

coverage.py v7.5.0, created at 2024-05-02 11:25 +0000

File function statements missing excluded branches partial coverage
python/lsst/meas/transiNet/__init__.py (no function) 3 0 0 0 0 100%
python/lsst/meas/transiNet/modelPackages/__init__.py (no function) 3 0 0 0 0 100%
python/lsst/meas/transiNet/modelPackages/formatters.py NNModelPackagePayload.__init__ 1 1 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/formatters.py NNModelPackageFormatter.read 4 4 0 2 0 0%
python/lsst/meas/transiNet/modelPackages/formatters.py NNModelPackageFormatter.write 2 2 0 2 0 0%
python/lsst/meas/transiNet/modelPackages/formatters.py NNModelPackageFormatter.fromBytes 3 3 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/formatters.py NNModelPackageFormatter.toBytes 1 1 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/formatters.py (no function) 11 0 0 0 0 100%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py NNModelPackage.__init__ 8 8 0 4 0 0%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py NNModelPackage.load 8 8 0 5 0 0%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py NNModelPackage.get_model_input_shape 1 1 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py NNModelPackage.get_input_scale_factors 1 1 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py NNModelPackage.get_boost_factor 1 1 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/nnModelPackage.py (no function) 9 0 0 0 0 100%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py StorageAdapterBase.__init__ 1 1 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py StorageAdapterBase.fetch 1 1 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py StorageAdapterBase.load_arch 2 2 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py StorageAdapterBase.load_weights 2 2 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py StorageAdapterBase.load_metadata 3 3 0 2 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterBase.py (no function) 11 0 0 0 0 100%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.__init__ 10 10 0 6 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.from_other 12 12 0 8 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.from_payload 7 7 0 8 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.to_payload 6 6 0 2 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.fetch 7 7 0 4 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.load_arch 3 3 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.load_weights 4 4 0 2 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.load_metadata 2 2 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.ingest 13 13 0 4 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py StorageAdapterButler.ingest.register_dataset_type 4 4 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterButler.py (no function) 23 0 0 4 0 100%
python/lsst/meas/transiNet/modelPackages/storageAdapterFactory.py StorageAdapterFactory.create 6 6 0 4 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterFactory.py (no function) 7 0 0 2 0 100%
python/lsst/meas/transiNet/modelPackages/storageAdapterLocal.py StorageAdapterLocal.__init__ 3 3 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterLocal.py StorageAdapterLocal.get_base_path 5 5 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterLocal.py StorageAdapterLocal.get_filenames 14 14 0 6 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterLocal.py (no function) 9 0 0 2 0 100%
python/lsst/meas/transiNet/modelPackages/storageAdapterNeighbor.py StorageAdapterNeighbor.__init__ 3 3 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterNeighbor.py StorageAdapterNeighbor.get_base_path 5 5 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterNeighbor.py StorageAdapterNeighbor.get_filenames 14 14 0 6 0 0%
python/lsst/meas/transiNet/modelPackages/storageAdapterNeighbor.py (no function) 9 0 0 2 0 100%
python/lsst/meas/transiNet/modelPackages/utils.py load_module_from_memory 10 10 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/utils.py load_module_from_memory.InMemoryLoader.__init__ 1 1 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/utils.py load_module_from_memory.InMemoryLoader.get_data 1 1 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/utils.py load_module_from_memory.InMemoryLoader.get_filename 1 1 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/utils.py load_module_from_file 4 4 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/utils.py import_model_from_module 6 6 0 4 0 0%
python/lsst/meas/transiNet/modelPackages/utils.py import_model 2 2 0 0 0 0%
python/lsst/meas/transiNet/modelPackages/utils.py (no function) 10 0 0 0 0 100%
python/lsst/meas/transiNet/rbTransiNetInterface.py RBTransiNetInterface.__init__ 5 5 0 0 0 0%
python/lsst/meas/transiNet/rbTransiNetInterface.py RBTransiNetInterface.init_model 5 5 0 2 0 0%
python/lsst/meas/transiNet/rbTransiNetInterface.py RBTransiNetInterface.input_to_batches 2 2 0 2 0 0%
python/lsst/meas/transiNet/rbTransiNetInterface.py RBTransiNetInterface.prepare_input 11 11 0 2 0 0%
python/lsst/meas/transiNet/rbTransiNetInterface.py RBTransiNetInterface.infer 11 11 0 6 0 0%
python/lsst/meas/transiNet/rbTransiNetInterface.py (no function) 18 0 0 2 0 100%
python/lsst/meas/transiNet/rbTransiNetTask.py RBTransiNetConnections.__init__ 3 3 0 2 0 0%
python/lsst/meas/transiNet/rbTransiNetTask.py RBTransiNetConfig.validate 3 3 0 4 0 0%
python/lsst/meas/transiNet/rbTransiNetTask.py RBTransiNetTask.__init__ 2 2 0 0 0 0%
python/lsst/meas/transiNet/rbTransiNetTask.py RBTransiNetTask.run 14 14 0 2 0 0%
python/lsst/meas/transiNet/rbTransiNetTask.py RBTransiNetTask._make_cutouts 10 10 0 2 0 0%
python/lsst/meas/transiNet/rbTransiNetTask.py (no function) 28 0 0 2 0 100%
python/lsst/meas/transiNet/version.py (no function) 5 0 0 0 0 100%
tests/test_ModelPackage.py sanity_check_dummy_model 3 3 0 0 0 0%
tests/test_ModelPackage.py TestModelPackageLocal.setUp 2 2 0 0 0 0%
tests/test_ModelPackage.py TestModelPackageLocal.test_load 3 3 0 0 0 0%
tests/test_ModelPackage.py TestModelPackageLocal.test_arch_weights_mismatch 20 20 0 4 0 0%
tests/test_ModelPackage.py TestModelPackageLocal.test_invalid_inputs 17 17 0 16 0 0%
tests/test_ModelPackage.py TestModelPackageLocal.test_metadata 9 9 0 2 0 0%
tests/test_ModelPackage.py TestModelPackageNeighbor.setUp 8 8 0 0 0 0%
tests/test_ModelPackage.py TestModelPackageNeighbor.tearDown 1 1 0 0 0 0%
tests/test_ModelPackage.py TestModelPackageNeighbor.test_load 4 4 0 0 0 0%
tests/test_ModelPackage.py TestModelPackageNeighbor.test_metadata 9 9 0 2 0 0%
tests/test_ModelPackage.py TestModelPackageButler.setUp 4 4 0 0 0 0%
tests/test_ModelPackage.py TestModelPackageButler.tearDown 1 1 0 0 0 0%
tests/test_ModelPackage.py TestModelPackageButler.ingest 2 2 0 0 0 0%
tests/test_ModelPackage.py TestModelPackageButler.load_from_butler 2 2 0 0 0 0%
tests/test_ModelPackage.py TestModelPackageButler.test_double_ingest 3 3 0 2 0 0%
tests/test_ModelPackage.py TestModelPackageButler.test_ingest_load 4 4 0 0 0 0%
tests/test_ModelPackage.py (no function) 36 0 0 2 0 100%
tests/test_RBTransiNetInterface.py TestInference.setUp 5 5 0 0 0 0%
tests/test_RBTransiNetInterface.py TestInference.test_infer_single_empty 5 5 0 0 0 0%
tests/test_RBTransiNetInterface.py TestInference.test_infer_many 5 5 0 2 0 0%
tests/test_RBTransiNetInterface.py (no function) 8 0 0 0 0 100%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.create_sample_datasets 6 6 0 0 0 0%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.setUp 4 4 0 0 0 0%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.test_make_cutouts 10 10 0 4 0 0%
tests/test_RBTransiNetTask.py TestRBTransiNetTask._check_cutout 2 2 0 0 0 0%
tests/test_RBTransiNetTask.py TestRBTransiNetTask._check_empty_cutout 1 1 0 0 0 0%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.test_run 4 4 0 0 0 0%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.test_config_butlerblock 5 5 0 2 0 0%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.test_config_butlerpass_none 4 4 0 0 0 0%
tests/test_RBTransiNetTask.py TestRBTransiNetTask.test_config_butlerblock_empty 5 5 0 2 0 0%
tests/test_RBTransiNetTask.py setup_module 1 1 0 0 0 0%
tests/test_RBTransiNetTask.py (no function) 23 2 0 2 1 88%
Total   610 399 0 145 1 30%

No items found using the specified filter.