Module:JI ratios in ED: Difference between revisions

Ganaram inukshuk (talk | contribs)
m Fixed prime-limit vs subgroup logic even more
Ganaram inukshuk (talk | contribs)
Fixed logic for ED parsing
Line 143: Line 143:
function p.ji_ratios_in_ed_frame(frame)
function p.ji_ratios_in_ed_frame(frame)
-- Parse the ed; if it's just a number, interpret it as an edo
local input_et = et.parse(frame.args["ED"])
local input_et = et.parse(frame.args["ED"])
if tonumber(et) ~= nil then
if tonumber(input_et) ~= nil then
input_et = input_et .. "edo"
input_et = input_et .. "edo"
end
end