dc5df4536fddf7cadc2c86041cf04887d87d1404,cellprofiler/gui/html/htmlwindow.py,HtmlClickableWindow,OnLinkClicked,#HtmlClickableWindow#Any#,25
Before Change
elif href.startswith("load:"):
pipeline_filename = href[5:]
try:
wx.CallAfter(wx.GetApp().frame.pipeline.load, urllib2.urlopen(pipeline_filename))
except:
wx.MessageBox(
"CellProfiler was unable to load %s" %
After Change
elif href.startswith("load:"):
pipeline_filename = href[5:]
try:
fd = urllib2.urlopen(pipeline_filename)
if fd.code < 200 or fd.code > 299:
wx.MessageBox(
"Sorry, the link, \"%s\" is broken, please contact the webmaster" %
pipeline_filename,
caption = "Unable to access pipeline via internet",
style = wx.OK | wx.ICON_INFORMATION)
return
wx.CallAfter(wx.GetApp().frame.pipeline.load, fd)
except:
wx.MessageBox(
"CellProfiler was unable to load %s" %
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: CellProfiler/CellProfiler
Commit Name: dc5df4536fddf7cadc2c86041cf04887d87d1404
Time: 2016-02-18
Author: leek@broadinstitute.org
File Name: cellprofiler/gui/html/htmlwindow.py
Class Name: HtmlClickableWindow
Method Name: OnLinkClicked
Project Name: studioml/studio
Commit Name: 2557e1c35a1b5fd6df69141df795c784ea23a62d
Time: 2017-08-28
Author: peter.zhokhov@sentient.ai
File Name: studio/tartifact_store.py
Class Name: TartifactStore
Method Name: stream_artifact
Project Name: cve-search/cve-search
Commit Name: cbd383c139bd7391369e3adbc1f42369df197c05
Time: 2015-10-17
Author: a@foo.be
File Name: lib/Config.py
Class Name: Configuration
Method Name: getFile