Skip to content

Commit

Permalink
Print paths
Browse files Browse the repository at this point in the history
  • Loading branch information
rafmudaf authored Nov 14, 2024
1 parent fa04b74 commit 43a6f5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions floris/type_dec.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ def convert_to_path(fn: str | Path) -> Path:
base_fn_script = Path(inspect.stack()[-1].filename).resolve().parent
base_fn_sys = Path(inspect.stack()[1].filename).resolve().parent

print("base_fn_script ", base_fn_script)
print("base_fn_sys ", base_fn_sys)

if isinstance(fn, Path):
absolute_fn = fn.resolve()
relative_fn_script = (base_fn_script / fn).resolve()
Expand Down

0 comments on commit 43a6f5b

Please sign in to comment.