Skip to content

Commit

Permalink
Update _dsdl_definition.py
Browse files Browse the repository at this point in the history
Remove path resolution
  • Loading branch information
filippobrizzi authored Jan 2, 2025
1 parent 97fb20c commit 7e83532
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pydsdl/_dsdl_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ def from_first_in(cls: Type["DSDLDefinition"], dsdl_path: Path, valid_dsdl_roots
def __init__(self, file_path: Path, root_namespace_path: Path):
""" """
# Normalizing the path and reading the definition text
self._file_path = Path(file_path).resolve()
# NOTE: to make it work with Bazel we cannot do that, as Bazel creates symlink in a separate workspace
self._file_path = Path(file_path) # .resolve()
del file_path

if not self._file_path.exists():
Expand Down

0 comments on commit 7e83532

Please sign in to comment.