Skip to content

Commit

Permalink
test message parser
Browse files Browse the repository at this point in the history
  • Loading branch information
m-goggins committed Jun 17, 2024
1 parent 70b5cbb commit be25132
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/container-message-parser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,3 @@ jobs:
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
"MESSAGE_PARSER_URL=${{secrets.MESSAGE_PARSER_URL}}"
1 change: 0 additions & 1 deletion containers/ingestion/app/linkage/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ def generate_hash_str(linking_identifier: str, salt_str: str) -> str:
hash_obj = hashlib.sha256()
to_encode = (linking_identifier + salt_str).encode("utf-8")
hash_obj.update(to_encode)
print()
return hash_obj.hexdigest()
1 change: 1 addition & 0 deletions containers/message-parser/app/phdc/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def to_element_tree(self) -> ET.ElementTree:
:return: The PHDC XML document as an ElementTree.
"""
if self.data is None:
print()
raise ValueError("The PHDC object must be initialized.")
return self.data

Expand Down

0 comments on commit be25132

Please sign in to comment.