Commit e3c16e86 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Strip _mapper from threadpool function names, these are getting very long

parent 67957bac
...@@ -69,7 +69,7 @@ threads = [] ...@@ -69,7 +69,7 @@ threads = []
chunks = [] chunks = []
for i in data: for i in data:
if i[0] != "#": if i[0] != "#":
funcs.append(i[0]) funcs.append(i[0].replace("_mapper", ""))
if i[1] < 0: if i[1] < 0:
threads.append(nthread-1) threads.append(nthread-1)
else: else:
......
...@@ -121,7 +121,7 @@ threads = [] ...@@ -121,7 +121,7 @@ threads = []
chunks = [] chunks = []
for i in data: for i in data:
if i[0] != "#": if i[0] != "#":
funcs.append(i[0]) funcs.append(i[0].replace("_mapper", ""))
if i[1] < 0: if i[1] < 0:
threads.append(nthread-1) threads.append(nthread-1)
else: else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment