In the record.py file there is
import locale
locale.setlocale(locale.LC_ALL, '') which sets the locale for all categories to the user’s default setting.
Then the numbers in variants are grouped with coma or dot (it depends on user locale)
Could you consider to disable grouping in this case at all?
def format_group(d):
return locale.format('%d', d, grouping=True) <---- here to False?
That could simplify batch processing in parallel for different samples using multiple computer nodes for annotation and parsing afterwards (without worrying about correct locale setting on each specific node)
In the record.py file there is import locale locale.setlocale(locale.LC_ALL, '') which sets the locale for all categories to the user’s default setting. Then the numbers in variants are grouped with coma or dot (it depends on user locale)
Could you consider to disable grouping in this case at all?
def format_group(d): return locale.format('%d', d, grouping=True) <---- here to False?
That could simplify batch processing in parallel for different samples using multiple computer nodes for annotation and parsing afterwards (without worrying about correct locale setting on each specific node)