Skip to content
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

HTML DAG gives syntax error in text #5301

Closed
gregorysprenger opened this issue Sep 12, 2024 · 1 comment · Fixed by #5302
Closed

HTML DAG gives syntax error in text #5301

gregorysprenger opened this issue Sep 12, 2024 · 1 comment · Fixed by #5302

Comments

@gregorysprenger
Copy link

Bug report

Expected behavior and actual behavior

HTML DAG should be displayed but it is giving the following error:
image

Steps to reproduce the problem

I haven't went through ALL nf-core pipelines to see if this affects them, but it does effect nf-core/sarek.
Link to nf-core/sarek's DAG: https://nf-co.re/sarek/3.4.4/results/sarek/results-5cc30494a6b8e7e53be64d308b582190ca7d2585/test_aws/pipeline_info/?file=pipeline_dag_2024-09-03_12-08-06.html

Program output

Here is the nf-core/sarek HTML dag file. Note I had to convert it to a text file due to HTML files not allowed for upload.

pipeline_dag_2024-09-03_12-08-06.txt

Environment

FireFox version 115.15.0esr (64-bit)
Chrome version 128.0.6613.138 (64-bit)
Edge version 128.0.2739.67 (64-bit)

Additional context

@bentsherman
Copy link
Member

Looks like the same issue we found in nf-prov. Add these options to the embedded JS code:

  mermaid.initialize({ startOnLoad: true, maxTextSize: Number.MAX_SAFE_INTEGER, maxEdges: Number.MAX_SAFE_INTEGER });

I will make a PR to add these options by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants