Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a minor bug in parsing coords.txt #4

Merged
merged 1 commit into from Mar 18, 2016

Conversation

LiuZhuohao
Copy link
Contributor

line no. 106 ==> re_f = r'([-+]?(\d+(.\d*))+)'
so that the program will not crash when
line = r'#index = 0, name = images/1022056833_b0bcddb09e_o.jpg, keys = 276, px = 320.0, py = 240.0, focal = -'
for example

line no. 106   ==>   re_f = r'([-+]?(\d+(\.\d*))+)'
so that the program will not crash when
line = r'#index = 0, name = images/1022056833_b0bcddb09e_o.jpg, keys = 276, px = 320.0, py = 240.0, focal = -'
for example
wilsonkl added a commit that referenced this pull request Mar 18, 2016
fix a minor bug in parsing coords.txt
@wilsonkl wilsonkl merged commit 5724bd2 into wilsonkl:master Mar 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants