Skip to content

Catch and reraise the IntegrityError in collections.x_remove

Codecov / codecov/patch failed Aug 19, 2024 in 0s

84.80% of diff hit (target 89.57%)

View this Pull Request on Codecov

84.80% of diff hit (target 89.57%)

Annotations

Check warning on line 66 in python/lsst/daf/butler/_butler_collections.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/_butler_collections.py#L66

Added line #L66 was not covered by tests

Check warning on line 414 in python/lsst/daf/butler/_butler_collections.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/_butler_collections.py#L414

Added line #L414 was not covered by tests

Check warning on line 159 in python/lsst/daf/butler/direct_butler/_direct_butler_collections.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/direct_butler/_direct_butler_collections.py#L158-L159

Added lines #L158 - L159 were not covered by tests

Check warning on line 155 in python/lsst/daf/butler/remote_butler/_remote_butler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/remote_butler/_remote_butler.py#L155

Added line #L155 was not covered by tests

Check warning on line 157 in python/lsst/daf/butler/remote_butler/_remote_butler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/remote_butler/_remote_butler.py#L157

Added line #L157 was not covered by tests

Check warning on line 105 in python/lsst/daf/butler/remote_butler/_remote_butler_collections.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/remote_butler/_remote_butler_collections.py#L105

Added line #L105 was not covered by tests

Check warning on line 63 in python/lsst/daf/butler/script/_associate.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/_associate.py#L63

Added line #L63 was not covered by tests

Check warning on line 78 in python/lsst/daf/butler/script/certifyCalibrations.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/certifyCalibrations.py#L78

Added line #L78 was not covered by tests

Check warning on line 80 in python/lsst/daf/butler/script/certifyCalibrations.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/certifyCalibrations.py#L80

Added line #L80 was not covered by tests

Check warning on line 91 in python/lsst/daf/butler/script/certifyCalibrations.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/certifyCalibrations.py#L90-L91

Added lines #L90 - L91 were not covered by tests

Check warning on line 73 in python/lsst/daf/butler/script/exportCalibs.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/exportCalibs.py#L73

Added line #L73 was not covered by tests

Check warning on line 78 in python/lsst/daf/butler/script/exportCalibs.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/exportCalibs.py#L78

Added line #L78 was not covered by tests

Check warning on line 83 in python/lsst/daf/butler/script/exportCalibs.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/exportCalibs.py#L83

Added line #L83 was not covered by tests

Check warning on line 126 in python/lsst/daf/butler/script/exportCalibs.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/exportCalibs.py#L126

Added line #L126 was not covered by tests

Check warning on line 143 in python/lsst/daf/butler/script/exportCalibs.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/exportCalibs.py#L143

Added line #L143 was not covered by tests

Check warning on line 146 in python/lsst/daf/butler/script/exportCalibs.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/exportCalibs.py#L146

Added line #L146 was not covered by tests

Check warning on line 102 in python/lsst/daf/butler/script/queryCollections.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/queryCollections.py#L102

Added line #L102 was not covered by tests

Check warning on line 68 in python/lsst/daf/butler/script/queryDatasetTypes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/queryDatasetTypes.py#L68

Added line #L68 was not covered by tests

Check warning on line 241 in python/lsst/daf/butler/script/queryDatasets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/queryDatasets.py#L241

Added line #L241 was not covered by tests

Check warning on line 243 in python/lsst/daf/butler/script/queryDatasets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/queryDatasets.py#L243

Added line #L243 was not covered by tests

Check warning on line 89 in python/lsst/daf/butler/script/queryDimensionRecords.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/queryDimensionRecords.py#L89

Added line #L89 was not covered by tests

Check warning on line 81 in python/lsst/daf/butler/script/transferDatasets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/transferDatasets.py#L81

Added line #L81 was not covered by tests

Check warning on line 86 in python/lsst/daf/butler/script/transferDatasets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/transferDatasets.py#L86

Added line #L86 was not covered by tests

Check warning on line 90 in python/lsst/daf/butler/script/transferDatasets.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/script/transferDatasets.py#L90

Added line #L90 was not covered by tests

Check warning on line 458 in python/lsst/daf/butler/tests/hybrid_butler.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/tests/hybrid_butler.py#L458

Added line #L458 was not covered by tests