<commit_before>import os
import string
import subprocess

import mvpipe.support
from mvpipe.runner import Runner, Job

def_options = {'env': True, 'wd': os.path.abspath(os.curdir), 'mail': 'ea', 'hold': False}

class SGERunner(Runner):
    def __init__(self, dryrun, verbose, logger, global_hold=False, global_depends=None, account=None, parallelenv='shm'):
        Runner.__init__(self, dryrun, verbose, logger)
        self.global_hold = global_hold
        self.global_hold_jobid = None
        self.global_depends = global_depends if global_depends else []
        self.account = account
        self.parallelenv = parallelenv

        self.jobids = {}

        self.testjobcount = 1
        self._name = 'sge-job'

    def reset(self):
        pass

    def done(self):
        pass

    def _setup_holding_job(self):
        holding_job = Job('sleep 5', hold=True)
        self.submit(holding_job)
        self.global_hold_jobid = holding_job.jobid
        self.global_depends.append(holding_job.jobid)<commit_msg>added name to holding job<commit_after>import os
import string
import subprocess

import mvpipe.support
from mvpipe.runner import Runner, Job

def_options = {'env': True, 'wd': os.path.abspath(os.curdir), 'mail': 'ea', 'hold': False}

class SGERunner(Runner):
    def __init__(self, dryrun, verbose, logger, global_hold=False, global_depends=None, account=None, parallelenv='shm'):
        Runner.__init__(self, dryrun, verbose, logger)
        self.global_hold = global_hold
        self.global_hold_jobid = None
        self.global_depends = global_depends if global_depends else []
        self.account = account
        self.parallelenv = parallelenv

        self.jobids = {}

        self.testjobcount = 1
        self._name = 'sge-job'

    def reset(self):
        pass

    def done(self):
        pass

    def _setup_holding_job(self):
        holding_job = Job('sleep 5', name="holding", hold=True)
        self.submit(holding_job)
        self.global_hold_jobid = holding_job.jobid
        self.global_depends.append(holding_job.jobid)
{'fraction_non_alphanumeric': 0.10444874274661509, 'fraction_numerical': 0.0019342359767891683, 'mean_word_length': 3.1215139442231075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7446210', 'n_tokens_mistral': 684, 'n_tokens_neox': 651, 'n_words': 146}