You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When providing an absolute path as input to make_path_relative, the output is incorrect.
Error Codes
importosimportmolecularnodes# Error pathmolecularnodes.session.make_path_relative('/Users/yzhuang/test.pdb')
> ./Users/yzhuang/test.pdbos.path.relpath('/home/yzhuang/test.pdb')
> ../../../home/yzhuang/test.pdb# This only works with the current working directorymolecularnodes.session.make_path_relative('/current_working_directory/test.pdb')
> ./test.pdb
Desktop (please complete the following information):
OS: [e.g. Windows / MacOS / Linux]: MacOS
Hardware: [e.g. Intel Mac, M1 Mac, x86 PC]: M1 Mac
Blender Version: 4.3
MolecularNodes Version: develop
The text was updated successfully, but these errors were encountered:
Describe the bug
When providing an absolute path as input to
make_path_relative
, the output is incorrect.Error Codes
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: