This file is indexed.

/usr/lib/python2.7/dist-packages/metastudentPkg/generateTermNameMapping.py is in metastudent 1.0.11-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
import sys


def convertGotermtxtToNameMapping(gotermtxtFilePath, nameMappingFilePath):
	
	nameMappingFile = open(nameMappingFilePath,"w")
	
	gotermtxtFile = open(gotermtxtFilePath)
	for line in gotermtxtFile:
		nr, namei, onto, termId = line.split("\t")[:4]
		nameMappingFile.write(termId + "\t" + namei + "\n")
	
	gotermtxtFile.close()
	nameMappingFile.close()

#if __name__ == "__main__":
#	convertGotermtxtToNameMapping(sys.argv[1], sys.argv[2])