diff --git a/OPDM/OPDM_SOAP_API.py b/OPDM/OPDM_SOAP_API.py index 80fd461..9b24cd0 100644 --- a/OPDM/OPDM_SOAP_API.py +++ b/OPDM/OPDM_SOAP_API.py @@ -478,9 +478,9 @@ def publication_cancel_subscription(self, subscription_id): # Model submission example -file_path = r"\\elering.sise\teenused\NMM\data\ACG\Generated Cases Archive\20190713T1530Z__ELERING_EQ_001.zip" -response = service.publication_request(file_path) -print(etree.tostring(response, pretty_print=True).decode()) + # file_path = r"\\elering.sise\teenused\NMM\data\ACG\Generated Cases Archive\20190713T1530Z__ELERING_EQ_001.zip" + # response = service.publication_request(file_path) + # print(etree.tostring(response, pretty_print=True).decode()) # Publication list example diff --git a/README.md b/README.md index 653d5c6..7ba5634 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ or import glob imort os - for file_name in glob.glob1(direcotry_path, "*.zip"): - service.publication_request(os.path.join(direcotry_path, file_name)) + for file_name in glob.glob1(directory_path, "*.zip"): + service.publication_request(os.path.join(directory_path, file_name)) ## Get File Upload/Publication Report publication_report = get_profile_publication_report(model_ID)