Skip to content
Snippets Groups Projects
Commit 19bf0174 authored by ajf5's avatar ajf5
Browse files

Merge branch 'main' of https://gitlab.engr.illinois.edu/ajf5/MP3 into main

parents 4bd2bbe9 8cef6a54
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ using namespace std;
#define PORT "2000"
#define LOGGING_FILE_NAME "logs.txt"
#define EXEC_CMD "./" //python for python script, ./ for an executable
#define EXEC_CMD "python " //python for python script, ./ for an executable
// --- parameters (stay tuned) ---
#define T_period 150000 // in microseconds
......
......@@ -12,6 +12,7 @@ def map1(vote_str):
else:
ret = vote[j] + ">" + vote[i] + ",0"
print(ret)
test_ret += ret
test_ret += '\n'
return test_ret
with open(sys.argv[1]) as f:
lines = f.readlines()
for l in lines:
map1(l)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment