-
Notifications
You must be signed in to change notification settings - Fork 1
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
Reversible reaction arrows not showing #5
Comments
Ah, this is definitely something I broke! I'm just on holiday at the moment, I will fix it once I get back in about a week. |
No worries! Enjoy your holiday and take your time. |
Hi there, can you check out branch #6 and see if it works? You can add directionality with rd = Dict(
"PGM" => (Dict("3pg_c" => 1, "2pg_c" => -1), :backward),
"PYK" => (Dict("pep_c" => -1, "adp_c" => -1, "h_c" => -1.0, "atp_c" => 1.0, "pyr_c" => 1), :forward),
"ENO" => (Dict("2pg_c" => 1, "pep_c" => -1, "h2o_c" => -1), :bidirectional),
)
f = Figure(resolution = (1200, 800));
ax = Axis(f[1, 1]);
escherplot!(
ax,
joinpath(pkgdir(Escher), "data", "core-map.json");
reaction_directions = rd,
reaction_arrow_size = 12,
reaction_show_text = true,
)
hidexdecorations!(ax)
hideydecorations!(ax)
f |
Hi again. Can confirm that branch 6 works perfectly. I did the following to generate
|
Hi again,
It's been a while since I've used Escher.jl for visualizing networks and am having issues with reversible reactions only showing arrowheads in one direction. I updated to Escher.jl version v0.6.5 and was following your tutorial with the E. coli core model from Bigg/Escher. From what I remember, there was no issue the first time you implemented reaction directions, but I haven't done any regression testing.
The resulting plot is identical to yours with only a single arrow head for the reversible PGM reaction.
The text was updated successfully, but these errors were encountered: