The sub2full function required that the function be executed in the same directory as the input file. This shouldn't be the case, especially because this function can be called from the command line with a file path as input. I fixed this so that any input path can be passed in. I also added a docstring and did a pep8 check.
The sub2full function required that the function be executed in the same directory as the input file. This shouldn't be the case, especially because this function can be called from the command line with a file path as input. I fixed this so that any input path can be passed in. I also added a docstring and did a pep8 check.