From 27b10dde0ad35a7df0b6386f18db0fa7a8aed36f Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Thu, 7 Dec 2023 13:29:01 -0800 Subject: [PATCH] Update validate_spec.py --- src/hdmf/testing/validate_spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hdmf/testing/validate_spec.py b/src/hdmf/testing/validate_spec.py index e557c5409..4d25ff084 100755 --- a/src/hdmf/testing/validate_spec.py +++ b/src/hdmf/testing/validate_spec.py @@ -32,7 +32,7 @@ def __init__(self): new_resolver = FixResolver() f_nwb = open(fpath_spec, 'r') - yaml_obj = YAML(typ='safe', pure=True) + yaml_obj = yaml.YAML(typ='safe', pure=True) instance = yaml_obj.load(f_nwb) jsonschema.validate(instance, schema, resolver=new_resolver)