In the readme, should we change the file paths to path/to/new.txt and path/to/old.txt or something more general and shorter? Like the files don't need to be named CanadaUSA.txt?
Continuing off point 3, I really like the functionaly of this and it should work for all osemosys projects! Can we remove the places where its specific to this project? (ie. the module name and readme docs)
The module
scripts/developer_tools/dataDiffCheck/
is totally functional and works great! I do have some comments/questions for improvements though :)Improve python style for looping. Instead of writing https://github.com/DeltaE/Canada-U.S.-ElecTrade/blob/c8af7e64fb1d8f70ad382e66536a674784c94682/scripts/developer_tools/dataDiffCheck/CanadaUsaTxtDiffCheck.py#L105-L107 I think we can write
Are we able to add in a statement before here that checks if the files are different? So if there are no differences, it only prints out the one line
both files are the same
and we don't have to look through all the print statements to see if there are issues? Or maybe only print out where the differences are? Not sure which one is better off the top of my head? https://github.com/DeltaE/Canada-U.S.-ElecTrade/blob/c8af7e64fb1d8f70ad382e66536a674784c94682/scripts/developer_tools/dataDiffCheck/CanadaUsaTxtDiffCheck.py#L111-L117In the readme, should we change the file paths to
path/to/new.txt
andpath/to/old.txt
or something more general and shorter? Like the files don't need to be namedCanadaUSA.txt
?