Pranavkhade / PACKMAN

PACKMAN: PACKing and Motion ANalysis
Other
33 stars 7 forks source link

load_hinge path does not allow for spaces #33

Closed Simard302 closed 2 years ago

Simard302 commented 2 years ago

When the path in your .hng file contains any whitespace, the line=i.strip().split() in utilities.load_hinge splits the line into a list that is longer than 3. Afterwards, the HNGinfo[ line[0]+'_'+line[1] ]=[float(j) for j in line[2].split(':')] becomes irrelevant because the first, second, and third elements of line are not as intended

Pranavkhade commented 2 years ago

Thank you for posting this. This issue has been fixed for the GUI in this pull request: https://github.com/Pranavkhade/PACKMAN/pull/32. I am waiting on my colleague's response on it.

I will fix it completely, but meanwhile, please continue to use files without spaces.

Thanks, Pranav

Pranavkhade commented 2 years ago

This issue has now been fixed with version 1.4.5 #32