Module:Infobox MOS: Difference between revisions
m Bugfixing tamnams info section |
mNo edit summary |
||
| Line 217: | Line 217: | ||
if is_octave_equivalent then | if is_octave_equivalent then | ||
if input_mos.nL + input_mos.ns <= 10 then | -- Scale is within the "named range" | ||
if input_mos.nL + input_mos.ns <= 10 and tamnams_name ~= "" then | |||
return { | return { | ||
{"[[TAMNAMS#Mos_pattern_names | Name]]", tamnams_name}, | {"[[TAMNAMS#Mos_pattern_names | Name]]", tamnams_name}, | ||
| Line 223: | Line 224: | ||
{"[[TAMNAMS#Mos_pattern_names | Abbrev.]]", tamnams_abbrev} | {"[[TAMNAMS#Mos_pattern_names | Abbrev.]]", tamnams_abbrev} | ||
} | } | ||
-- Scale is outside the "named range" | |||
elseif input_mos.nL + input_mos.ns > 10 then | elseif input_mos.nL + input_mos.ns > 10 then | ||
local ancestor_mos, lg_chunk, sm_chunk, generations = p.find_mos_ancestor(input_mos) | local ancestor_mos, lg_chunk, sm_chunk, generations = p.find_mos_ancestor(input_mos) | ||