EDGE icon indicating copy to clipboard operation
EDGE copied to clipboard

ProjectComparison Path bug

Open donutbrew opened this issue 8 years ago • 1 comments

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

donutbrew avatar Jun 12 '17 15:06 donutbrew

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 avatar Jun 20 '17 17:06 chienchi