Skip to content

Commit

Permalink
path
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroesb committed Feb 23, 2024
1 parent 0d89f30 commit 5768145
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ena_upload/json_parsing/characteristic.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class IsaBase:

@classmethod
def validate_json(self, isa_json: Dict[str, str], schema):
schema_path = os.path.join(os.curdir, "ena_upload", "json_parsing", "json_schemas", schema)

base_path = os.path.abspath(os.path.dirname(__file__))
schema_path = os.path.join(base_path, 'json_schemas', schema)
json_file = open(schema_path)
json_schema = json.load(json_file)

Expand Down

0 comments on commit 5768145

Please sign in to comment.