Skip to content

Commit

Permalink
clean up the code
Browse files Browse the repository at this point in the history
  • Loading branch information
qibolun committed Apr 6, 2018
1 parent cf27370 commit bcc52ef
Show file tree
Hide file tree
Showing 6 changed files with 16,410 additions and 6,471 deletions.
11,394 changes: 8,204 additions & 3,190 deletions .ipynb_checkpoints/DryVR_Notebook-checkpoint.ipynb

Large diffs are not rendered by default.

11,394 changes: 8,204 additions & 3,190 deletions DryVR_Notebook.ipynb

Large diffs are not rendered by default.

40 changes: 0 additions & 40 deletions rrt2Dplotter.py

This file was deleted.

49 changes: 0 additions & 49 deletions simPlotter.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/common/io.py
Expand Up @@ -30,7 +30,7 @@ def writeReachTubeFile(result, path):
"""
with open(path, 'w') as f:
for line in result:
if isinstance(line, unicode):
if isinstance(line, unicode) or isinstance(line, str):
f.write(line+'\n')
elif isinstance(line, list):
f.write(' '.join(map(str,line))+'\n')
Expand Down
2 changes: 1 addition & 1 deletion src/core/dryvrmain.py
Expand Up @@ -300,7 +300,7 @@ def verify(data, simFunction, paramConfig={}):
print "Hit refine threshold, system halt, result unknown"
print 'simulation time', simEndTime-startTime
print 'verification time', time.time()-simEndTime
return "UNKNOWN", retReach
return "UNKNOWN", None
else:
if backwardFlag == SAFE:
prevModeStack = curModeStack.parent
Expand Down

0 comments on commit bcc52ef

Please sign in to comment.