Open p1003 opened 1 year ago
path = Path("some/path") fromfile(path)
Code above causes file_has_sh_magic_number function from pymchelper/readers/shieldhit/general.py to throw error below.
file_has_sh_magic_number
pymchelper/readers/shieldhit/general.py
It is desired to work as fine as it works with code below:
path = Path("some/path") fromfile(str(path))
Code above causes
file_has_sh_magic_number
function frompymchelper/readers/shieldhit/general.py
to throw error below.It is desired to work as fine as it works with code below: