Skip to content

Commit

Permalink
Allow any value for dicts contained in j
Browse files Browse the repository at this point in the history
Fix:

```
Traceback (most recent call last):
  File "/usr/users/ga002/soranzon/software/nsoranzo_gxformat2/.venv/bin/schema-salad-doc", line 8, in <module>
    sys.exit(main())
  File "schema_salad/makedoc.py", line 696, in main
  File "schema_salad/makedoc.py", line 731, in makedoc
  File "schema_salad/makedoc.py", line 511, in avrold_doc
  File "schema_salad/makedoc.py", line 207, in __init__
TypeError: str object expected; got ruamel.yaml.comments.CommentedSeq
```

when running:

```
schema-salad-doc --brandstyle '<link rel="stylesheet" href="https://jamestaylor.org/galaxy-bootstrap/galaxy_bootstrap.css">' --brandinverse --brand '<img src="icon.png" />' --brandlink '' --only https://galaxyproject.org/gxformat2/v19_09#WorkflowDoc --only https://galaxyproject.org/gxformat2/v19_09#GalaxyWorkflow workflow.yml
```
  • Loading branch information
nsoranzo authored and mr-c committed Jul 16, 2021
1 parent 1e4e505 commit 98e5736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema_salad/makedoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class RenderType:
def __init__(
self,
toc: ToC,
j: List[Dict[str, str]],
j: List[Dict[str, Any]],
renderlist: List[str],
redirects: Dict[str, str],
primitiveType: str,
Expand Down

0 comments on commit 98e5736

Please sign in to comment.