你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 04:56:51 +08:00
Regression of file reading - should be 'rb' not just 'r'
这个提交包含在:
@@ -36,7 +36,7 @@ renderview.ResetCamera()
|
||||
|
||||
# List to hold material identifiers written in VTK file in tags <gprMax3D> <Material>
|
||||
materials = []
|
||||
with open(model.FileName[0], 'r') as f:
|
||||
with open(model.FileName[0], 'rb') as f:
|
||||
for line in f:
|
||||
if line.startswith('<Material'):
|
||||
line.rstrip('\n')
|
||||
|
在新工单中引用
屏蔽一个用户