/Matching_Files_Program

Program Compares to two files to see if they are identical line by line

Primary LanguagePython

Matching_Files_Program

Written by M. Joseph Tomlinson IV

Program Compares to two files to see if they are identical line by line

Note: Code was Developed in the Abasht Laboratory at the University of Delaware under the supervision of Dr. Behnam Abasht website: http://canr.udel.edu/faculty/behnam-abasht/

Program Overview

Program compares two Files to see if they match. Compares the files line by line to see which lines match. The order of the lines does not quite matter because the program cycles through everything. Lines that are different in either file are reported back in the mis-match report file. All user has to do is change the "Matching_Files_Parameter_File.txt" to their files of interests and run the program locally or in an HPC environment.

Files Provided in Repository

Program Files:

File 1. matching_files.py (python script file)

File 2. Matching_Files_Paramter_File.txt (paramter file that users change to change program inputs)

Example Dataset to Run Program

File 3. TEST_File_1.txt

File 4. TEST_File_2.txt

Example Output From Program

File 5. Report_File.txt which contains a overview of the files and number of matching and mismatching lines of data

File 6. Mis-match_Report.txt contains all lines of the files that do not match