Major refactor to improve checks, prints, and cleanup (thanks chanshing)
- Rename variable 'rawFile' to 'inputFile' so that we dont confuse it with 'rawOutputFile', which is now named 'rawFile'. Similarly 'npyOutputFile' is now simply 'npyFile'. Method 'processRawFile' is now called
'processInputFile'.
- Use Python 'assert' to perform checks. Also simplify some checks, e.g. ArgumentParser automatically checks for missing arguments.
- Add new argument 'accProcess.py --npyFolder' for consistency.
- Use 'os.path.join' to create paths. This properly handles both cases whether a directory name is provided with or without the trailing slash '/'.
- Use 'atexit' to schedule deletion of intermediate files. This has the benefit that it will still run if the code exits prematurely. Some exceptions apply.
- Slightly improve prints.
Other updates:
- Filtering now correctly activated (thanks chanshing)