MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / relpath

Method relpath

python/graphvite/dataset.py:123–124  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

121 self.path = os.path.join(cfg.dataset_path, self.name)
122
123 def relpath(self, path):
124 return os.path.relpath(path, self.path)
125
126 def download(self, url):
127 from six.moves.urllib.request import urlretrieve

Callers 11

downloadMethod · 0.95
extractMethod · 0.95
get_fileMethod · 0.95
csv2txtMethod · 0.95
top_k_labelMethod · 0.95
induced_graphMethod · 0.95
edge_splitMethod · 0.95
link_prediction_splitMethod · 0.95
setup.pyFile · 0.80
baseline_mainFunction · 0.80
list_mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected