Opening a local html file using an url

18 views
Skip to first unread message

Uddipaan Hazarika

unread,
Jul 22, 2016, 2:21:06 PM7/22/16
to cytoscape-helpdesk
Hi,
I have made up a graphml file and is importing it to cytoscape. Now the thing is that there are html files local to the user machine that contains certain edge informations (pathway,mincut).
I have a data key called url and has the file path to it.
But the url only prompts me to navigate to the web browser if "http" word is present in the url. But my local file donot need http so can anybody help me out in opening the local html fileby giving the url as a data key through cytoscape.

P.S: Neither http://localhost:80/path-to-file works nor file:///path-to-file.

Barry Demchak

unread,
Jul 28, 2016, 1:32:43 PM7/28/16
to cytoscape-helpdesk
Hi --

Thanks for bringing this up. 

It seems pretty clear that the submenu code is looking for "http" in the table attribute value, and based on that adding "file" as a trigger for including this menu item would be a feature request ... something we could add, but isn't possible right now.

One thing you could do is to install a small web server on your PC, and then reference your files through that (e.g., http://localhost/myfile).

Is this doable for you??
Reply all
Reply to author
Forward
0 new messages