From 37e4a380653719db13a07ecd7250076e24784a88 Mon Sep 17 00:00:00 2001 From: Colas Geier Date: Mon, 26 Feb 2024 15:38:12 +0100 Subject: [PATCH] fix print attrs habitat --- 3_AZALEE/insert_ps.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/3_AZALEE/insert_ps.py b/3_AZALEE/insert_ps.py index b18b84d..fb9fb57 100644 --- a/3_AZALEE/insert_ps.py +++ b/3_AZALEE/insert_ps.py @@ -1093,7 +1093,7 @@ def insert_habPS(df,ps_statut='actif'): return [df,True] except Exception as e: print(e) - print('PS : Insert news attrs impossible !') + print('PS : Insert news attrs habitats impossible !') return [df,False] @@ -1297,9 +1297,9 @@ if __name__ == "__main__": '"PS_BELLEDONNE_CEN38_2014"','"PS_BIEVRE_CEN38_2014"','"PS_BIEVRE_CEN38_2016"','"PS_SUD-GRENOBLOIS_CEN38_2009"', '"PS_VERCORS_CEN38_2011"' ] - from_table = '"cr_ECRIN_habitats_CBNA_2014"' - from_table = '"cr_VERCORS_habitats_CBNA_1999-2007"' - from_file = 'fwdcouchesinventairepelousessches2022/PS2022_UG.gpkg' + # from_table = '"cr_ECRIN_habitats_CBNA_2014"' + # from_table = '"cr_VERCORS_habitats_CBNA_1999-2007"' + from_file = 'PS_AGGREGATION_NB_AG.shp' path0 = '/home/colas/Documents/9_PROJETS/2_PS/TO IMPORT/' # org = from_file.split('/')[1]