Skip to content
Snippets Groups Projects
Commit ee5a8e40 authored by Maciej Wielgosz's avatar Maciej Wielgosz
Browse files

update in the seans pipeline to account for relative paths

parent 6ce5fff0
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,10 @@ if __name__ == "__main__":
# copy the output "segmented_cleaned.las" to the output directory
results_dir_name = args.point_cloud.split('.')[0] + '_FSCT_output'
# results_dir_name = args.point_cloud.split('.')[0] + '_FSCT_output'
dir_core_name = os.path.dirname(args.point_cloud)
file_name = os.path.basename(args.point_cloud).split('.')[0]
results_dir_name = os.path.join(dir_core_name, file_name + '_FSCT_output')
print("Copying results to output directory.")
shutil.copy(os.path.join(results_dir_name, "segmented_cleaned.las"), args.odir)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment