你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-08 07:24:19 +08:00
Fix bscan mixin to ensure output files are merged
这个提交包含在:
@@ -98,11 +98,16 @@ class BScanMixin(GprMaxMixin):
|
|||||||
"""Add B-Scan specific commandline arguments and postrun cmds"""
|
"""Add B-Scan specific commandline arguments and postrun cmds"""
|
||||||
self.executable_opts += ["-n", str(self.num_models)]
|
self.executable_opts += ["-n", str(self.num_models)]
|
||||||
|
|
||||||
|
self.postrun_cmds += [
|
||||||
|
f"python -m toolboxes.Utilities.outputfiles_merge {self.model}",
|
||||||
|
f"mv {self.model}_merged.h5 {self.output_file}",
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
class TaskfarmMixin(GprMaxMixin):
|
class TaskfarmMixin(GprMaxMixin):
|
||||||
extra_executable_opts = ["-taskfarm"]
|
extra_executable_opts = ["-taskfarm"]
|
||||||
|
|
||||||
num_tasks = required
|
# num_tasks = required
|
||||||
|
|
||||||
@run_after("setup")
|
@run_after("setup")
|
||||||
def add_taskfarm_flag(self):
|
def add_taskfarm_flag(self):
|
||||||
|
在新工单中引用
屏蔽一个用户