Module:MOS in EDO allperiods: Difference between revisions
No edit summary |
Hopefully fixed logic for subset edos |
||
| Line 65: | Line 65: | ||
-- Skip mosses that are supported by subset edos; this happens if the | -- Skip mosses that are supported by subset edos; this happens if the | ||
-- gen and comp have a gcd > 1; if show_subsets is set to true, then | -- gen and comp have a gcd > 1; if show_subsets is set to true, then | ||
-- show them anyway | -- show them anyway. | ||
local gcd = utils._gcd(gen, comp) | local gcd = utils._gcd(gen, comp) | ||
local add_table = gcd == 1 or show_subsets | |||
-- Add table | |||
if add_table then | |||
-- TODO: Rewrite code here for entry of temperaments as a set of | -- TODO: Rewrite code here for entry of temperaments as a set of | ||
-- key-value pairs | -- key-value pairs | ||