Skip to content

Commit

Permalink
1. Fixed code, some test code was in wrong place and not commented out
Browse files Browse the repository at this point in the history
2. Fixed typo in README.md
  • Loading branch information
kristjan.vilgo committed May 4, 2021
1 parent ac704bc commit 16e83ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions OPDM/OPDM_SOAP_API.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 16e83ae

Please sign in to comment.