@@ -475,13 +475,13 @@ def by_file_aop(dpid,
475
475
chunk_size = chunk_size , token = token )
476
476
477
477
# download issue log table
478
- ilog = get_issue_log (dpID = dpid , token = None )
478
+ ilog = get_issue_log (dpid = dpid , token = None )
479
479
ilog .to_csv (f"{ download_path } /issueLog_{ dpid } .csv" , index = False )
480
480
481
481
# download citations
482
482
if "PROVISIONAL" in releases :
483
483
try :
484
- cit = get_citation (dpID = dpid , release = "PROVISIONAL" )
484
+ cit = get_citation (dpid = dpid , release = "PROVISIONAL" )
485
485
with open (f"{ download_path } /citation_{ dpid } _PROVISIONAL.txt" ,
486
486
mode = "w+" , encoding = "utf-8" ) as f :
487
487
f .write (cit )
@@ -494,7 +494,7 @@ def by_file_aop(dpid,
494
494
releases = releases
495
495
if len (rel ) == 1 :
496
496
try :
497
- cit = get_citation (dpID = dpid , release = rel [0 ])
497
+ cit = get_citation (dpid = dpid , release = rel [0 ])
498
498
with open (f"{ download_path } /citation_{ dpid } _{ rel [0 ]} .txt" ,
499
499
mode = "w+" , encoding = "utf-8" ) as f :
500
500
f .write (cit )
@@ -852,13 +852,13 @@ def get_buffer_coords(easting, northing, buffer):
852
852
chunk_size = chunk_size , token = token )
853
853
854
854
# download issue log table
855
- ilog = get_issue_log (dpID = dpid , token = None )
855
+ ilog = get_issue_log (dpid = dpid , token = None )
856
856
ilog .to_csv (f"{ download_path } /issueLog_{ dpid } .csv" , index = False )
857
857
858
858
# download citations
859
859
if "PROVISIONAL" in releases :
860
860
try :
861
- cit = get_citation (dpID = dpid , release = "PROVISIONAL" )
861
+ cit = get_citation (dpid = dpid , release = "PROVISIONAL" )
862
862
with open (f"{ download_path } /citation_{ dpid } _PROVISIONAL.txt" ,
863
863
mode = "w+" , encoding = "utf-8" ) as f :
864
864
f .write (cit )
@@ -871,7 +871,7 @@ def get_buffer_coords(easting, northing, buffer):
871
871
releases = releases
872
872
if len (rel ) == 1 :
873
873
try :
874
- cit = get_citation (dpID = dpid , release = rel [0 ])
874
+ cit = get_citation (dpid = dpid , release = rel [0 ])
875
875
with open (f"{ download_path } /citation_{ dpid } _{ rel [0 ]} .txt" ,
876
876
mode = "w+" , encoding = "utf-8" ) as f :
877
877
f .write (cit )
0 commit comments