-
-
Notifications
You must be signed in to change notification settings - Fork 67
Document more features of cwltool #246
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
Conversation
@mr-c, @tetron could you take a quick look before I continue working on this one? For the For But I cannot find a good place in the existing sections for But still not sure if that's the best place to document the Any thoughts? Thanks! |
for for |
Leaving the issue open, and partially addressing it with this PR 👍 |
8e62a81
to
744b19f
Compare
38a2f85
to
469d303
Compare
…ce the inputs objects
dbd7461
to
12067f4
Compare
src/_includes/cwl/troubleshooting/troubleshooting-wf1-stepb-fixed.cwl
Outdated
Show resolved
Hide resolved
src/_includes/cwl/troubleshooting/troubleshooting-wf1-stepb-fixed.cwl
Outdated
Show resolved
Hide resolved
|
||
```{runcmd} cwltool --cachedir /tmp/cachedir/ troubleshooting-wf1.cwl | ||
:working-directory: src/_includes/cwl/troubleshooting | ||
:emphasize-lines: 12-14, 19-21 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any effect of emphasize-lines
with {runcmd}
, alas (or at least, not on Read The Docs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You arr correct. I actually had seen it and forgot to log an issue for that.
Runcmd extends the code block directive. It runs a command and then renders the code block.
It looks like the emphasize is applied before the code is rendered. So it gets ignored instead of highlighting the rendered command.
A bit tricky but I guess it could be one of those 1-line code fixes (that alas you spend more than you wanted on it 😅 )
Partially addresses #166
For
--make-template
, I added a small paragraph to the Inputs section.For
--cachedir
, I couldn't decide among prerequisites, FAQ, and a new section. In the end due to its length, I thought it would fit better in a new section for Troubleshooting (I imagine other devs have other interesting ways to troubleshoot CWL & cwltool execution). But happy to move it to somewhere else too.