-
-
Notifications
You must be signed in to change notification settings - Fork 62
solo 'mapSubject' under jsonldPredicate
not rendering in HTML
#167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Anywhere we have just a |
diff --git a/schema_salad/makedoc.py b/schema_salad/makedoc.py
index 45bcab2..c2f9b9a 100644
--- a/schema_salad/makedoc.py
+++ b/schema_salad/makedoc.py
@@ -237,7 +237,7 @@ class RenderType(object):
if nbsp and len(tp) <= 3:
return " | ".join([self.typefmt(n, redirects, jsonldPredicate=jsonldPredicate) for n in tp])
else:
- return " | ".join([self.typefmt(n, redirects) for n in tp])
+ return " | ".join([self.typefmt(n, redirects, jsonldPredicate=jsonldPredicate) for n in tp])
if isinstance(tp, dict):
if tp["type"] == "https://w3id.org/cwl/salad#array":
ar = "array<%s>" % (self.typefmt( But for
|
So the problem is that at this point the rendering doesn't have access to the abstract classes, and doesn't easily have access to the types being cross referenced either. So some solutions are much harder to implement than others. After some fiddling, here's what I came up with:
|
Fixed in #193 |
https://github.com/common-workflow-language/common-workflow-language/blob/46091d30e9c4fec1347a3f58b2a6056838a3da60/v1.0/Process.yml#L811
http://www.commonwl.org/v1.0/CommandLineTool.html#CommandLineTool
The text was updated successfully, but these errors were encountered: