From e2376ab91fe0a541467ffd9921be34e49fd83953 Mon Sep 17 00:00:00 2001 From: Maciej Wielgosz <maciej.wielgosz@nibio.no> Date: Thu, 31 Aug 2023 09:51:33 +0200 Subject: [PATCH] version update --- nibio_postprocessing/las_to_pandas.py | 2 ++ nibio_postprocessing/pandas_to_las.py | 1 + 2 files changed, 3 insertions(+) diff --git a/nibio_postprocessing/las_to_pandas.py b/nibio_postprocessing/las_to_pandas.py index 08acfa2..e494542 100644 --- a/nibio_postprocessing/las_to_pandas.py +++ b/nibio_postprocessing/las_to_pandas.py @@ -2,6 +2,8 @@ import numpy as np import pandas as pd import laspy +# works with laspy 2.1.2 + def las_to_pandas(las_file_path, csv_file_path, save_csv=True): """ Reads a LAS file and converts it to a pandas dataframe, then saves it to a CSV file. diff --git a/nibio_postprocessing/pandas_to_las.py b/nibio_postprocessing/pandas_to_las.py index 01d6077..71e7e5b 100644 --- a/nibio_postprocessing/pandas_to_las.py +++ b/nibio_postprocessing/pandas_to_las.py @@ -2,6 +2,7 @@ import laspy import pandas as pd import numpy as np +# works with laspy 2.1.2 def pandas_to_las(csv, las_file_path, csv_file_provided=True, verbose=False): """ -- GitLab