We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c168510 commit da751daCopy full SHA for da751da
1 file changed
hvcc/interpreters/pd2hv/PdParser.py
@@ -447,6 +447,14 @@ def finalize_array(array: HeavyObject) -> None:
447
elif Path(self.__HVLIB_DIR, f"{obj_type}.pd").is_file():
448
self.obj_counter[obj_type] += 1
449
hvlib_path = Path(self.__HVLIB_DIR, f"{obj_type}.pd")
450
+
451
+ # make sure that the nam file argument is an absolute path
452
+ if obj_type == "pdnam~":
453
+ path = Path(obj_args[0])
454
+ if not path.is_absolute():
455
+ path = pd_path.parent / path
456
+ obj_args = [str(path)]
457
458
x = self.graph_from_file(
459
file_path=hvlib_path,
460
obj_args=obj_args,
0 commit comments