See the paragraph on the right, there’s <p>
and <code>
where there shouldn’t be.
template manifest:
name: Matlab
notes: |
Running at MATLAB script using using just one node
(note that `-b` takes a command, not a file; also some toolboxes may require the jvm,
so you may not want the `-nojvm` option, but try it first).
script: main_job.sh
Is this a known bug? Did I do something wrong?
travert
(Travis Ravert)
January 17, 2023, 10:39pm
2
This may be a bug. It is using the class below to ingest the manifest.yml
:
# @oprion opts [String] "script" The relative path of the submit script in the templated workflow
def initialize(path, opts)
raise InvalidContentError.new("Invalid Content in manifest.yml") unless(opts && opts.is_a?(Hash))
@path = Pathname.new(path)
@name = opts.fetch("name", default_name)
@host = opts.fetch("host", default_host)
@notes = opts.fetch("notes", default_notes)
if Configuration.render_template_notes_as_markdown?
begin
@notes = OodAppkit.markdown.render(@notes)
rescue StandardError => e
Rails.logger.warn "Markdown rendering failed for manifest #{@path.to_s}"
end
end
@script = opts.fetch("script", default_script)
end
Notice it is checking to see if by default we want to store that input as rendered markdown.
That environment variable is by default set to true
here:
So, this seems to always result in that type of output where you see the rendering having already happened.
I’m currently trying to see in the view
what happens and if there is any way to get that markdown to render there correctly.
I’ll circle back and post the issue explain the behavior fully when I see what’s going on.
Thanks for pointing this out!
system
(system)
Closed
July 16, 2023, 10:40pm
3
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.