Some of the changes are Pythonic/PEP8 things; others include (per second commit)
Allow either a CSV file or a text file to be specified with -f
Use one code branch regardless of the number of terms being ignored, rather than separate branches for one vs. multiple
Quit without building, printing an error message, if (a) there are no concepts specified (e.g. only stopwords are specified) or (b) there are no changes that result from ignoring the specified concepts (e.g. they were all already being ignored)
Make "-i" and "-f" mutually exclusive; the code was already treating them that way (ignoring "-f" if "-i" was specified), but silently
Some of the changes are Pythonic/PEP8 things; others include (per second commit)
Allow either a CSV file or a text file to be specified with -f
Use one code branch regardless of the number of terms being ignored, rather than separate branches for one vs. multiple
Quit without building, printing an error message, if (a) there are no concepts specified (e.g. only stopwords are specified) or (b) there are no changes that result from ignoring the specified concepts (e.g. they were all already being ignored)
Make "-i" and "-f" mutually exclusive; the code was already treating them that way (ignoring "-f" if "-i" was specified), but silently