Module:MOS mode degrees: Difference between revisions

Ganaram inukshuk (talk | contribs)
m Bugfixes to default name assignment
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)
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 ~= input_mos.nL + input_mos.ns then
if #step_pattern ~= 0 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