Skip to content

Instantly share code, notes, and snippets.

diff --git a/graphspace_python/graphs/classes/gsgraph.py b/graphspace_python/graphs/classes/gsgraph.py
index abf024c..790f3ab 100644
--- a/graphspace_python/graphs/classes/gsgraph.py
+++ b/graphspace_python/graphs/classes/gsgraph.py
@@ -470,7 +470,7 @@ class GSGraph(nx.DiGraph):
attr_dict.update({"source": source, "target": target})
GSGraph.validate_edge_data_properties(data_properties=attr_dict, nodes_list=self.nodes())
- super(GSGraph, self).add_edge(source, target, attr_dict)
+ super(GSGraph, self).add_edge(source, target, **attr_dict)
@domitry
domitry / RRI.ipynb
Created May 30, 2017 09:32
RRI tet
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
gcc testMathTool.c MathTool.c -lm -o test.out
./test.out
rm ./test.out
@domitry
domitry / hoge.ipynb
Last active February 12, 2016 02:07
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
(*'-') <dpkg --get-selections | grep 'linux-image'
linux-image-3.16.0-24-generic deinstall
linux-image-3.16.0-34-generic deinstall
linux-image-3.16.0-44-generic deinstall
linux-image-3.19.0-31-generic install
linux-image-4.2.0-18-generic deinstall
linux-image-4.2.0-19-generic deinstall
linux-image-4.2.0-23-generic install
linux-image-extra-3.16.0-24-generic deinstall
linux-image-extra-3.16.0-34-generic deinstall
@domitry
domitry / poyo.ipynb
Last active December 18, 2015 16:17
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@domitry
domitry / LICENSE
Last active December 17, 2015 09:29
---- d3-downloadable (https://github.com/likr/d3-downloadable) ----
The MIT License (MIT)
Copyright (c) 2014 Yosuke ONOUE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell