Skip to content

Commit

Permalink
chore: move stuff around
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-milan committed Nov 24, 2023
1 parent e44225e commit a160083
Show file tree
Hide file tree
Showing 18 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.formatting.provider": "black"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions fhir_utils/utils.py → lib/fhir_utils/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import json
import xmltodict

Expand Down Expand Up @@ -25,8 +26,8 @@ def xml_to_dict(xml_file_path):
except Exception as e:
print(f"Error: Unable to parse XML file. Reason: {str(e)}")
return None


def save_to_json(dict, json_path,):
with open(json_path, "w") as file:
json.dump(dict, file)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a160083

Please sign in to comment.