Skip to content
Snippets Groups Projects
Commit 674ca7a6 authored by Chad Hanna's avatar Chad Hanna
Browse files

python/inspiral_pipe.py: remove redundant function

parent 56014835
No related branches found
No related tags found
No related merge requests found
......@@ -199,12 +199,3 @@ def build_bank_string(cachedict, numbanks = [2], maxjobs = None):
outstrs.append(c)
total_banks = sum(outcounts)
return [(s, total_banks / outcounts[i]) for i, s in enumerate(outstrs)]
def parse_banks(bank_string):
out = {}
for b in bank_string.split(','):
ifo, bank = b.split(':')
out.setdefault(ifo, []).append(bank)
return out
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