Module:JI ratios in ED: Difference between revisions

Ganaram inukshuk (talk | contribs)
Switched to subgroup search; 2- and 3-limit ratios are now separated in their own columns
Ganaram inukshuk (talk | contribs)
m Primes can be entered as a subgroup (delimited with periods) instead of a comma-delimited list
Line 125: Line 125:
local primes = { 2, 3, 5, 7, 11, 13 }
local primes = { 2, 3, 5, 7, 11, 13 }
if string.len(frame.args["Primes"]) > 0 then
if string.len(frame.args["Primes"]) > 0 then
primes = tip.parse_numeric_entries(frame.args["Primes"], ',')
primes = tip.parse_numeric_entries(frame.args["Primes"], '.') or tip.parse_numeric_entries(frame.args["Primes"], ',')
end
end