重构爆管定位请求,移除不必要的时间参数
This commit is contained in:
@@ -29,6 +29,7 @@ DEFAULT_N_WORKERS = max(1, min((os.cpu_count() or 1) - 1, 4))
|
||||
|
||||
def run_leakage_identification(
|
||||
network: str,
|
||||
username: str,
|
||||
observed_pressure_data: (
|
||||
str | pd.DataFrame | dict[str, list[Any]] | list[dict[str, Any]] | None
|
||||
) = None,
|
||||
@@ -47,7 +48,6 @@ def run_leakage_identification(
|
||||
scada_end: datetime | str | None = None,
|
||||
sensor_nodes: list[str] | None = None,
|
||||
scheme_name: str | None = None,
|
||||
username: str = "admin",
|
||||
) -> dict[str, Any]:
|
||||
os.makedirs(output_dir, exist_ok=True)
|
||||
inp_path = _prepare_leakage_inp(network)
|
||||
|
||||
Reference in New Issue
Block a user