Skip to content

Commit

Permalink
debug print
Browse files Browse the repository at this point in the history
Former-commit-id: 5a6caa5
  • Loading branch information
Kevin Qu committed May 27, 2022
1 parent d604094 commit 923ee66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imgtools/modules/datagraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def parser(self, query_string: str) -> pd.DataFrame:
#change relative paths to absolute paths
for col in final_df.columns:
if col.startswith("folder"):
print(self.edge_path, os.path.dirname(self.edge_path))
final_df[col] = final_df[col].apply(lambda x: pathlib.Path(os.path.split(os.path.dirname(self.edge_path))[0], x).as_posix()) #input folder joined with the rel path
return final_df

Expand Down

0 comments on commit 923ee66

Please sign in to comment.