Skip to content

Commit

Permalink
Update OPSGatherPatentsv2.py
Browse files Browse the repository at this point in the history
fix announce progress information
  • Loading branch information
Patent2net committed Sep 3, 2021
1 parent 3f3a3b2 commit 213389f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Patent2Net/OPSGatherPatentsv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
if GatherPatent: # Patent List to build from request.
if DataBrevets['requete'] != requete:
AnnonceLog(Appli = 'p2n_req', texte= 'Gather patent' +" Datadirectory exists. Deleting it.")

AnnonceProgres(Appli='p2n_req', valMax=100, valActu=0)
print("care of using on file for one request, deleting this one.")
input('sure? Unlee use ^C ( CTRL+C)')
lstBrevets2, nbTrouves = PatentSearch(ops_client, requete)
Expand Down Expand Up @@ -149,7 +149,7 @@
ficOk = False
print(nbTrouves, " patents corresponding to the request.")
AnnonceLog(Appli = 'p2n_req', texte= str(nbTrouves) + " patents corresponding to the request. Retreiving associated bibliographic data")
AnnonceProgres (Appli = 'p2n_req', valMax = 100, valActu = 100)
AnnonceProgres (Appli = 'p2n_req', valMax = 100, valActu = 0)
print(len(lstBrevets), ' in file corresponding to the request. Retreiving associated bibliographic data')
else:
AnnonceProgres (Appli = 'p2n_req', valMax = 100, valActu =100)
Expand Down

0 comments on commit 213389f

Please sign in to comment.