<commit_before>import os
import sys
import argparse
import subprocess


# ---------------------------------------------------------------------------


MEMORY = 20000
CPU = 4
LSF_GROUP = "/family_srch"


# ---------------------------------------------------------------------------


def run_view_processes(rfam_acc, uuid, log_dir):

	cmd = ("bsub -M %s -o %s -e %s -n %s -g %s -q production-rh74 "
		"-J %s \"rfam_family_view.pl -id %s -f %s family\"")	

	err_file = os.path.join(log_dir, rfam_acc+'.err')
	out_file = os.path.join(log_dir, rfam_acc+'.out')

	subprocess.call(cmd %(MEMORY, out_file, err_file, CPU, 
			LSF_GROUP,rfam_acc, uuid, rfam_acc), shell=True)


# ---------------------------------------------------------------------------


def parse_arguments():
	
	parser = argparse.ArgumentParser()
	
	parser.add_argument("--uuid", 
		help="A tab delimited file listing Rfam uuids and family accessions", 
		action="store")
	parser.add_argument("--log-dir", 
		help="A destination directory to keep some logs", 
		action="store")

# ---------------------------------------------------------------------------


if __name__=='__main__':

	parser = parse_arguments()<commit_msg>Fixes minor error<commit_after>import os
import argparse
import subprocess


# ---------------------------------------------------------------------------


MEMORY = 20000
CPU = 4
LSF_GROUP = "/family_srch"


# ---------------------------------------------------------------------------


def run_view_processes(rfam_acc, uuid, log_dir):

	cmd = ("bsub -M %s -o %s -e %s -n %s -g %s -q production-rh74 "
		"-J %s \"rfam_family_view.pl -id %s -f %s family\"")	

	err_file = os.path.join(log_dir, rfam_acc+'.err')
	out_file = os.path.join(log_dir, rfam_acc+'.out')

	subprocess.call(cmd %(MEMORY, out_file, err_file, CPU, 
			LSF_GROUP,rfam_acc, uuid, rfam_acc), shell=True)


# ---------------------------------------------------------------------------


def parse_arguments():
	
	parser = argparse.ArgumentParser()
	
	parser.add_argument("--uuid", 
		help="A tab delimited file listing Rfam uuids and family accessions", 
		action="store")
	parser.add_argument("--log-dir", 
		help="A destination directory to keep some logs", 
		action="store")

	return parser


# ---------------------------------------------------------------------------


if __name__=='__main__':

	parser = parse_arguments()
{'fraction_non_alphanumeric': 0.3595976529756915, 'fraction_numerical': 0.006705783738474434, 'mean_word_length': 1.4761410788381744, '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': '4430374', 'n_tokens_mistral': 767, 'n_tokens_neox': 698, 'n_words': 169}