pace-neutrons / pace-python

Python module of the PACE inelastic neutron data analysis suite of programs.
GNU General Public License v3.0
3 stars 4 forks source link

Simplify find_version path finding #20

Closed rebeccafair closed 2 years ago

rebeccafair commented 2 years ago

Addresses #19

This involved a bit of refactoring of find_version to make it easier to follow, I've tried to keep the behaviour the same (e.g. setting the arch and ver attributes), even though I'm not sure we actually need to set those, any further changes to behaviour can come later. Just a few more things: