Module:MOS mode degrees: Difference between revisions

Ganaram inukshuk (talk | contribs)
m Testing whether code can handle arbitrary modmosses (where the step pattern only matches the step count of xL ys, not the number of large and small steps)
Ganaram inukshuk (talk | contribs)
m Changing the logic for lines 700-704: blank step patterns should invoke mos_mode_degrees; any non-empty step pattern should invoke modmos_mode_degrees
Line 698: Line 698:
-- Otherwise, call the function modmos_mode_degrees
-- Otherwise, call the function modmos_mode_degrees
local result = ""
local result = ""
if #step_pattern ~= 0 then
if step_pattern == "" then
result = p.mos_mode_degrees(input_mos, mos_prefix, mode_names)
result = p.mos_mode_degrees(input_mos, mos_prefix, mode_names)
else
else