Module:Infobox interval: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 86: | Line 86: | ||
end | end | ||
if regular and rational then | if regular and rational then | ||
table.insert(infobox_data, { | if ket:match('<sup>') then | ||
'[[Just intonation subgroup|Subgroup]]', | -- there was a subsequence of 4+ zeros | ||
table.insert(infobox_data, { | |||
'[[Smonzos and svals|Subgroup monzo]]', | |||
rat.as_subgroup_ket(ratio) | |||
}) | |||
else | |||
table.insert(infobox_data, { | |||
'[[Just intonation subgroup|Subgroup]]', | |||
rat.subgroup(ratio) | |||
}) | |||
table.insert(infobox_data, { | |||
'[[Monzo]]', | |||
ket | |||
}) | |||
end | |||
end | end | ||
if regular then | if regular then | ||