Add Mol false-negative visual review evidence
This commit is contained in:
@@ -135,7 +135,7 @@ def stratified_selection(
|
||||
return selected
|
||||
|
||||
|
||||
def require_dependencies() -> dict[str, Any]:
|
||||
def require_dependencies(purpose: str = "False-positive visual review") -> dict[str, Any]:
|
||||
try:
|
||||
import numpy
|
||||
import rasterio
|
||||
@@ -145,7 +145,7 @@ def require_dependencies() -> dict[str, Any]:
|
||||
from shapely.ops import transform
|
||||
except ImportError as exc:
|
||||
raise SystemExit(
|
||||
"False-positive visual review requires the backend GIS/raster extras"
|
||||
f"{purpose} requires the backend GIS/raster extras"
|
||||
) from exc
|
||||
return {
|
||||
"numpy": numpy,
|
||||
|
||||
Reference in New Issue
Block a user