Skip to content

Commit

Permalink
fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
RDiPiazza committed Nov 24, 2024
1 parent 73ec8ee commit fb5400c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions quotaclimat/data_processing/mediatree/update_pg_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ def update_keywords(session: Session, batch_size: int = 50000, start_date : str
,new_number_of_keywords_biodiversite \
,new_number_of_keywords_ressources \
,number_of_changement_climatique_constat_no_hrfp \
,number_of_changement_climatique_causes_no_hrfp \
,number_of_changement_climatique_causes_directes_no_hrfp \
,number_of_changement_climatique_consequences_no_hrfp \
,number_of_attenuation_climatique_solutions_no_hrfp \
,number_of_adaptation_climatique_solutions_no_hrfp \
,number_of_attenuation_climatique_solutions_directes_no_hrfp \
,number_of_adaptation_climatique_solutions_directes_no_hrfp \
,number_of_ressources_no_hrfp \
,number_of_ressources_solutions_no_hrfp \
,number_of_biodiversite_concepts_generaux_no_hrfp \
,number_of_biodiversite_causes_no_hrfp \
,number_of_biodiversite_causes_directes_no_hrfp \
,number_of_biodiversite_consequences_no_hrfp \
,number_of_biodiversite_solutions_no_hrfp = get_themes_keywords_duration(plaintext, srt, start)
,number_of_biodiversite_solutions_directes_no_hrfp = get_themes_keywords_duration(plaintext, srt, start)
except Exception as err:
logging.error(f"continuing loop but met error : {err}")
continue
Expand Down

0 comments on commit fb5400c

Please sign in to comment.