We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95cfbe1 commit 0960222Copy full SHA for 0960222
schema_salad/schema.py
@@ -127,11 +127,15 @@ def get_metaschema():
127
})
128
129
for f in salad_files:
130
- rs = resource_stream(__name__, 'metaschema/' + f):
+ rs = resource_stream(__name__, 'metaschema/' + f)
131
loader.cache["https://w3id.org/cwl/" + f] = rs.read()
132
rs.close()
133
134
- j = yaml.load(loader.cache["https://w3id.org/cwl/metaschema.yml"])
+ rs = resource_stream(__name__, 'metaschema/metaschema.yml')
135
+ loader.cache["https://w3id.org/cwl/salad"] = rs.read()
136
+ rs.close()
137
+
138
+ j = yaml.load(loader.cache["https://w3id.org/cwl/salad"])
139
j, _ = loader.resolve_all(j, "https://w3id.org/cwl/salad#")
140
141
#pprint.pprint(j)
0 commit comments