Skip to content

Raise rather than use assert

Codecov / codecov/patch failed Oct 29, 2024 in 1s

81.22% of diff hit (target 89.46%)

View this Pull Request on Codecov

81.22% of diff hit (target 89.46%)

Annotations

Check warning on line 617 in python/lsst/daf/butler/cli/cmd/commands.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/cli/cmd/commands.py#L617

Added line #L617 was not covered by tests

Check warning on line 622 in python/lsst/daf/butler/cli/cmd/commands.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/cli/cmd/commands.py#L622

Added line #L622 was not covered by tests

Check warning on line 625 in python/lsst/daf/butler/cli/cmd/commands.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/cli/cmd/commands.py#L624-L625

Added lines #L624 - L625 were not covered by tests

Check warning on line 832 in python/lsst/daf/butler/cli/cmd/commands.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/cli/cmd/commands.py#L832

Added line #L832 was not covered by tests

Check warning on line 943 in python/lsst/daf/butler/datastores/chainedDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/chainedDatastore.py#L943

Added line #L943 was not covered by tests

Check warning on line 968 in python/lsst/daf/butler/datastores/chainedDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/chainedDatastore.py#L968

Added line #L968 was not covered by tests

Check warning on line 978 in python/lsst/daf/butler/datastores/chainedDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/chainedDatastore.py#L978

Added line #L978 was not covered by tests

Check warning on line 1992 in python/lsst/daf/butler/datastores/fileDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/fileDatastore.py#L1992

Added line #L1992 was not covered by tests

Check warning on line 2113 in python/lsst/daf/butler/datastores/fileDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/fileDatastore.py#L2113

Added line #L2113 was not covered by tests

Check warning on line 2135 in python/lsst/daf/butler/datastores/fileDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/fileDatastore.py#L2135

Added line #L2135 was not covered by tests

Check warning on line 2144 in python/lsst/daf/butler/datastores/fileDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/fileDatastore.py#L2143-L2144

Added lines #L2143 - L2144 were not covered by tests

Check warning on line 2190 in python/lsst/daf/butler/datastores/fileDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/fileDatastore.py#L2190

Added line #L2190 was not covered by tests

Check warning on line 2203 in python/lsst/daf/butler/datastores/fileDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/fileDatastore.py#L2203

Added line #L2203 was not covered by tests

Check warning on line 2205 in python/lsst/daf/butler/datastores/fileDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/fileDatastore.py#L2205

Added line #L2205 was not covered by tests

Check warning on line 2207 in python/lsst/daf/butler/datastores/fileDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/fileDatastore.py#L2207

Added line #L2207 was not covered by tests

Check warning on line 2210 in python/lsst/daf/butler/datastores/fileDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/fileDatastore.py#L2210

Added line #L2210 was not covered by tests

Check warning on line 2213 in python/lsst/daf/butler/datastores/fileDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/fileDatastore.py#L2213

Added line #L2213 was not covered by tests

Check warning on line 2227 in python/lsst/daf/butler/datastores/fileDatastore.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/fileDatastore.py#L2227

Added line #L2227 was not covered by tests

Check warning on line 137 in python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py#L136-L137

Added lines #L136 - L137 were not covered by tests

Check warning on line 159 in python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py#L159

Added line #L159 was not covered by tests

Check warning on line 162 in python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py#L162

Added line #L162 was not covered by tests

Check warning on line 168 in python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py#L168

Added line #L168 was not covered by tests

Check warning on line 217 in python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py#L217

Added line #L217 was not covered by tests

Check warning on line 250 in python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py#L250

Added line #L250 was not covered by tests

Check warning on line 253 in python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

python/lsst/daf/butler/datastores/file_datastore/retrieve_artifacts.py#L252-L253

Added lines #L252 - L253 were not covered by tests