def _tsk_lst(tsk_str, num):
    ' Set the sequence of electronic structure tasks for a given\n        species or PESs\n    '
    if (tsk_str is not None):
        tsks = []
        tsk_str = ioformat.remove_whitespace_from_string(tsk_str)
        for line in tsk_str.splitlines():
            _tsk = _split_line(line, num)
            tsks.append(_tsk)
        mod_tsks = tsks
    else:
        mod_tsks = None
    return mod_tsks
Set the sequence of electronic structure tasks for a given
species or PESs
def _tsk_lst(tsk_str, num):
    ' Set the sequence of electronic structure tasks for a given\n        species or PESs\n    '
    if (tsk_str is not None):
        tsks = []
        tsk_str = ioformat.remove_whitespace_from_string(tsk_str)
        for line in tsk_str.splitlines():
            _tsk = _split_line(line, num)
            tsks.append(_tsk)
        mod_tsks = tsks
    else:
        mod_tsks = None
    return mod_tsks