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

ProjectComparison Path bug #20

Open
donutbrew opened this issue Jun 12, 2017 · 1 comment
Open

ProjectComparison Path bug #20

donutbrew opened this issue Jun 12, 2017 · 1 comment
Assignees

Comments

@donutbrew
Copy link

in edge_action.cgi (dev), on line 658 (possibly elsewhere), the path generated by
my $relative_outdir = "$out_rel_dir/ProjectComparison/". md5_hex(join ('',@projCodes));
creates a path that leaves out the EDGE subdirectory. For example, if the address for your EDGE instance is http://myserver.org/edge_ui/ and this is located in /var/httpd/www-root/edge_ui, then $relative_outdir will end up pointing to http://myserver.org/ProjectComparison/projectcode rather than http://myserver.org/edge_ui/ProjectComparison/projectcode thus the links can be messed up for the ProjectComparison pages

@chienchi
Copy link
Member

If the EDGE instance is http://myserver.org/edge_ui/, the projrunhost variable in the project config.txt file will be http://myserver.org/edge_ui/.

ex: https://bioedge.lanl.gov/edge_ui/EDGE_output/77bccf19bcdef403be26a992b3f39fd0/config.txt

on line 661,
info->{INFO} = "The comparison result is available <a target='_blank' href=\'$runhost/$relative_outdir/compare_project.html\'>he re</a>";

will point to the http://myserver.org/edge_ui/ProjectComparison/projectcode which is the right path.

@chienchi chienchi self-assigned this Jun 20, 2017
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