<commit_before>#!/usr/bin/env python

import sys

mfile = open(sys.argv[1], "r")

homList = []

for line in mfile:
	cols = line.split(',')

	homList.append((cols[0], cols[3]))

mfile.close()

hfile = open(sys.argv[2], "r")

humanGeneDict = {}

for line in hfile:
	cols = line.split(',')

	if not cols[2] in humanGeneDict:
		humanGeneDict[cols[2]] = cols[3]

hfile.close()

hFile = open(sys.argv[3], "w")

for ent in homList:
	hFile.write(humanGeneDict[ent[0]] + '\t' + ent[1]+ "\n")<commit_msg>Small changes<commit_after>#!/usr/bin/env python

import sys

mfile = open(sys.argv[2], "r")

homList = []

for line in mfile:
	cols = line.split(',')

	homList.append((cols[0], cols[3]))

mfile.close()

hfile = open(sys.argv[1], "r")

humanGeneDict = {}

for line in hfile:
	cols = line.split(',')

	if not cols[2] in humanGeneDict:
		humanGeneDict[cols[2]] = cols[3]

hfile.close()

hFile = open(sys.argv[3], "w")

for ent in homList:
	hFile.write(humanGeneDict[ent[0]] + '\t' + ent[1]+ "\n")
{'fraction_non_alphanumeric': 0.20647773279352227, 'fraction_numerical': 0.020242914979757085, 'mean_word_length': 4.375, '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': '1643460', 'n_tokens_mistral': 442, 'n_tokens_neox': 425, 'n_words': 92}