你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Corrected bug with printing waveform ID when duplicate found.
这个提交包含在:
@@ -47,7 +47,7 @@ def process_multicmds(multicmds, G):
|
|||||||
if float(tmp[2]) <= 0:
|
if float(tmp[2]) <= 0:
|
||||||
raise CmdInputError("'" + cmdname + ': ' + ' '.join(tmp) + "'" + ' requires an excitation frequency value of greater than zero')
|
raise CmdInputError("'" + cmdname + ': ' + ' '.join(tmp) + "'" + ' requires an excitation frequency value of greater than zero')
|
||||||
if any(x.ID == tmp[3] for x in G.waveforms):
|
if any(x.ID == tmp[3] for x in G.waveforms):
|
||||||
raise CmdInputError("'" + cmdname + ': ' + ' '.join(tmp) + "'" + ' with ID {} already exists'.format(tmp[2]))
|
raise CmdInputError("'" + cmdname + ': ' + ' '.join(tmp) + "'" + ' with ID {} already exists'.format(tmp[3]))
|
||||||
|
|
||||||
w = Waveform()
|
w = Waveform()
|
||||||
w.ID = tmp[3]
|
w.ID = tmp[3]
|
||||||
|
在新工单中引用
屏蔽一个用户