Skip to content
Snippets Groups Projects
Commit 1e19763a authored by Chad Hanna's avatar Chad Hanna
Browse files
parent e372a0d1
No related branches found
No related tags found
No related merge requests found
......@@ -48,8 +48,8 @@ N = sum(len(lsctables.SnglInspiralTable.get_table(xmldoc)) for fname, xmldoc in
# N get too close to the number of available IDs to keep the probability of
# two ID sequences being the same small.
assert N < 50000000, "too many templates: increase size of draw space"
ids = sorted(random.sample(xrange(99999999), N))
assert N < 5000000, "too many templates: increase size of draw space"
ids = sorted(random.sample(xrange(9999999), N))
# assign the IDs and write back to disk
......
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