提交 ed03ae04 编辑于 作者: xu_mijian's avatar xu_mijian
浏览文件

fix bugs about loading files

上级 7ef77a39
流水线 #746 已失败 ,包含阶段
in 54 second
......@@ -51,7 +51,10 @@ Syntax: read filename dx dy [\'geo\']
dy = float(arg_lst[2])
to_geo = False
elif len(arg_lst) == 4:
if arg_lst[4] == 'geo':
if arg_lst[3] == 'geo':
filename = arg_lst[0]
dx = float(arg_lst[1])
dy = float(arg_lst[2])
to_geo = True
else:
print('Error: Specify \'geo\' to convert spherical coordinate to geo coordinate')
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册