新增Dockerfile;修改simulations中部分参数格式判断
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user