新增Dockerfile;修改simulations中部分参数格式判断

This commit is contained in:
2026-02-10 15:25:03 +08:00
parent a0987105dc
commit a472639b8a
3 changed files with 17 additions and 8 deletions

View File

@@ -509,7 +509,7 @@ def contaminant_simulation(
# step 2. set pattern
if source_pattern != None:
pt = get_pattern(new_name, source_pattern)
if pt == None:
if len(pt) == 0:
str_response = str("cant find source_pattern")
return str_response
else: