Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Sander Roet <553780f5843ec7ffd69e47f0aad20fbda8d4847d@hotmail.com>
dwhswenson/openpathsampling,choderalab/openpathsampling,dwhswenson/openpathsampling,choderalab/openpathsampling,openpathsampling/openpathsampling,openpathsampling/openpathsampling,choderalab/openpathsampling,dwhswenson/openpathsampling,openpathsampling/openpathsampling,openpathsampling/openpathsampling,dwhswenson/openpathsampling