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

opening the SVG on MS Windows #145

Open
mr-c opened this issue Apr 17, 2024 · 1 comment
Open

opening the SVG on MS Windows #145

mr-c opened this issue Apr 17, 2024 · 1 comment
Assignees

Comments

@mr-c
Copy link
Collaborator

mr-c commented Apr 17, 2024

https://carpentries-incubator.github.io/cwl-novice-tutorial/03-dependency_graphs/index.html

cwltool --print-dot rna_seq_workflow_2.cwl | dot -Tsvg > workflow_graph_2.svg

Ideally within VS Code

@alexiswl
Copy link
Collaborator

WSL2 users running ubuntu can run wslview /path/to/workflow_graph_2.svg, this should open the svg file up in a browser.

Steps to reproduce:

sudo apt install -yq wslu

wslview /path/to/workflow_graph_2.svg

I'd also recommend setting the environment variable BROWSER to wslview in users .bashrc.

This allows the following to work too:

xdg-open "https://google.com"

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

No branches or pull requests

2 participants