<commit_before>import ectl
import ectl.launch

description = 'Continues (or restarts) a run.'

def setup_parser(subparser):
    ectl.launch.setup_parser(subparser)

    subparser.add_argument('--restart-file', '-rsf', dest='restart_file', default=None,
        help="File to use for restart (fort.X.nc or .rsf file)")

    subparser.add_argument('--restart-date', '-rsf', dest='restart_date', default=None,
        help="Find rsf file at or before given date")

def run(parser, args, unknown_args):
    if len(unknown_args) > 0:
        raise ValueError('Unkown arguments: %s' % unknown_args)

    ectl.launch.run(args, 'run')<commit_msg>Fixed typo in command line argument flag name.<commit_after>import ectl
import ectl.launch

description = 'Continues (or restarts) a run.'

def setup_parser(subparser):
    ectl.launch.setup_parser(subparser)

    subparser.add_argument('--restart-file', '-rsf', dest='restart_file', default=None,
        help="File to use for restart (fort.X.nc or .rsf file)")

    subparser.add_argument('--restart-date', '-rsd', dest='restart_date', default=None,
        help="Find rsf file at or before given date")

def run(parser, args, unknown_args):
    if len(unknown_args) > 0:
        raise ValueError('Unkown arguments: %s' % unknown_args)

    ectl.launch.run(args, 'run')
{'fraction_non_alphanumeric': 0.13674560733384264, 'fraction_numerical': 0.0015278838808250573, 'mean_word_length': 4.137254901960785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6050652', 'n_tokens_mistral': 441, 'n_tokens_neox': 428, 'n_words': 110}