topologicpy 0.4.86__py3-none-any.whl → 0.4.88__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- topologicpy/DGL.py +2 -2
- topologicpy/Graph.py +14 -0
- topologicpy/__init__.py +1 -1
- {topologicpy-0.4.86.dist-info → topologicpy-0.4.88.dist-info}/METADATA +1 -1
- {topologicpy-0.4.86.dist-info → topologicpy-0.4.88.dist-info}/RECORD +8 -8
- {topologicpy-0.4.86.dist-info → topologicpy-0.4.88.dist-info}/LICENSE +0 -0
- {topologicpy-0.4.86.dist-info → topologicpy-0.4.88.dist-info}/WHEEL +0 -0
- {topologicpy-0.4.86.dist-info → topologicpy-0.4.88.dist-info}/top_level.txt +0 -0
topologicpy/DGL.py
CHANGED
@@ -1733,9 +1733,9 @@ class DGL:
|
|
1733
1733
|
print("DGL.ConfusionMatrix - ERROR: The two input lists do not have the same length. Returning None")
|
1734
1734
|
return None
|
1735
1735
|
if normalize:
|
1736
|
-
cm =
|
1736
|
+
cm = np.transpose(metrics.confusion_matrix(y_true=actual, y_pred=predicted, normalize="true"))
|
1737
1737
|
else:
|
1738
|
-
cm =
|
1738
|
+
cm = np.transpose(metrics.confusion_matrix(y_true=actual, y_pred=predicted))
|
1739
1739
|
return cm
|
1740
1740
|
|
1741
1741
|
@staticmethod
|
topologicpy/Graph.py
CHANGED
@@ -4105,10 +4105,18 @@ class Graph:
|
|
4105
4105
|
node_dict['z'] = z
|
4106
4106
|
node_dict['id'] = i
|
4107
4107
|
for m, key in enumerate(keys):
|
4108
|
+
if key == "psets": #We cannot handle IFC psets at this point.
|
4109
|
+
continue
|
4108
4110
|
if key == "id":
|
4109
4111
|
key = "TOPOLOGIC_ID"
|
4110
4112
|
if not key in node_attributes.keys():
|
4111
4113
|
node_attributes[key] = valueType(values[m])
|
4114
|
+
if isinstance(values[m], str):
|
4115
|
+
values[m] = values[m].replace('&','&')
|
4116
|
+
values[m] = values[m].replace('<','<')
|
4117
|
+
values[m] = values[m].replace('>','>')
|
4118
|
+
values[m] = values[m].replace('"','"')
|
4119
|
+
values[m] = values[m].replace('\'',''')
|
4112
4120
|
node_dict[key] = values[m]
|
4113
4121
|
dict_color = None
|
4114
4122
|
if not defaultVertexColor in Color.CSSNamedColors():
|
@@ -4144,6 +4152,12 @@ class Graph:
|
|
4144
4152
|
vertex_label = Dictionary.ValueAtKey(d, vertexLabelKey)
|
4145
4153
|
if not isinstance(vertex_label, str):
|
4146
4154
|
vertex_label = "Node "+str(i)
|
4155
|
+
if isinstance(vertex_label, str):
|
4156
|
+
vertex_label = vertex_label.replace('&','&')
|
4157
|
+
vertex_label = vertex_label.replace('<','<')
|
4158
|
+
vertex_label = vertex_label.replace('>','>')
|
4159
|
+
vertex_label = vertex_label.replace('"','"')
|
4160
|
+
vertex_label = vertex_label.replace('\'',''')
|
4147
4161
|
node_dict['label'] = vertex_label
|
4148
4162
|
|
4149
4163
|
nodes[i] = node_dict
|
topologicpy/__init__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: topologicpy
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.88
|
4
4
|
Summary: An Advanced Spatial Modelling and Analysis Software Library for Architecture, Engineering, and Construction.
|
5
5
|
Author-email: Wassim Jabi <wassim.jabi@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/wassimj/TopologicPy
|
@@ -4,12 +4,12 @@ topologicpy/CellComplex.py,sha256=TS3TbitIM8O5wcFx0scYPz5HaXTeBHLOAbSUHRmw3jg,48
|
|
4
4
|
topologicpy/Cluster.py,sha256=hx0eRQP30I4Ssb3oKTxiNiCjyRiQmyd9Y1C2Ec48-IM,53111
|
5
5
|
topologicpy/Color.py,sha256=I_Sm0F-5Hr3y6tFCBaLOplslLnu-wpA8T0VQkH8x54g,17057
|
6
6
|
topologicpy/Context.py,sha256=bgwslZSu8Ijuz3fusdhP6XcDnCdwGhtbI0-uhVjB36U,2977
|
7
|
-
topologicpy/DGL.py,sha256=
|
7
|
+
topologicpy/DGL.py,sha256=qg0k5Ls-eLD6tbK06v_KPgg-GO3M3jY0IusHkco8kCY,138312
|
8
8
|
topologicpy/Dictionary.py,sha256=vGhiXPu7e7GsgQyTsX6rZBncnnrDlcYfM9xRb9h-l3U,24799
|
9
9
|
topologicpy/Edge.py,sha256=425HQJyERHdaCnr7mi5Nbdk8jSuupKyGXE9td01MN7k,45693
|
10
10
|
topologicpy/EnergyModel.py,sha256=kl8N-6NsKwKeSUt6vWm0B-MBacw9vMymE6lbvymJdVM,51758
|
11
11
|
topologicpy/Face.py,sha256=uQyrXVtFQYlYZxiywl1S4cCHIAfQMbgeJ40Af34-CmI,93617
|
12
|
-
topologicpy/Graph.py,sha256=
|
12
|
+
topologicpy/Graph.py,sha256=YSEftTd3TrXJ5dd94Po0MU_IlM39KQ8h8SksfXE-2iM,314844
|
13
13
|
topologicpy/Grid.py,sha256=q6uAs8MGbdteYNbjqRjqlhFMquYAvSngwzxsFl9-338,17371
|
14
14
|
topologicpy/Helper.py,sha256=vqBZE-CcHBeTCnzC9OzbRaCTx4XT4SZpPF__Vi19nDQ,16049
|
15
15
|
topologicpy/Honeybee.py,sha256=ygiGMS7u-YQJWpK2CmkBuJu1DBABVUmpMdg9HewOhN4,20349
|
@@ -23,7 +23,7 @@ topologicpy/Topology.py,sha256=6Pga5O3_awhRUMxF8_JiNOPgSWmCmqTVDfnJygnTtZk,28782
|
|
23
23
|
topologicpy/Vector.py,sha256=57ZoYLd3chEQhjN8Sf1Wv_UR3klltLoaT8TQN0kP-f8,22166
|
24
24
|
topologicpy/Vertex.py,sha256=A7hCI-WpHaemow4eDiaqVhZ0ekgifXcWFpa-82txwYM,55187
|
25
25
|
topologicpy/Wire.py,sha256=l7EfmBuwl6qMsklkIMj24Mvgb2342YRHPSEdooHYFsw,134108
|
26
|
-
topologicpy/__init__.py,sha256=
|
26
|
+
topologicpy/__init__.py,sha256=bcuuRYHtXml9W3cu6-4pDBc4RjFj7tWY3HkM5Ur2ejI,1445
|
27
27
|
topologicpy/bin/linux/topologic/__init__.py,sha256=XlFReDf3FWlYdM9uXtanYPIafgPb6GVTQczS_xJAXD0,60
|
28
28
|
topologicpy/bin/linux/topologic/libTKBO-6bdf205d.so.7.7.0,sha256=ANok9DQKcnWcLd9T_LAt-i-X4nsYYy16q9kQlcTre1E,2996488
|
29
29
|
topologicpy/bin/linux/topologic/libTKBRep-2960a069.so.7.7.0,sha256=OJ3XesL79du8LeBHrsleGPXub6OpJdOilxha0mwjqQo,1378768
|
@@ -84,8 +84,8 @@ topologicpy/bin/windows/topologic/topologic.cp310-win_amd64.pyd,sha256=F0sPLuMpD
|
|
84
84
|
topologicpy/bin/windows/topologic/topologic.cp311-win_amd64.pyd,sha256=aBAJQj3OmJ58MOAF1ZIFybL_5fFK7FNR9hrIps6b6pc,1551872
|
85
85
|
topologicpy/bin/windows/topologic/topologic.cp38-win_amd64.pyd,sha256=aLgNf54nbJmGc7Tdmkuy-V0m6B9zLxabIbpRwAy7cBA,1551360
|
86
86
|
topologicpy/bin/windows/topologic/topologic.cp39-win_amd64.pyd,sha256=_8cp205hiRxkFHtzQQOweA4DhCPk8caH4kTVLWGQeVw,1411584
|
87
|
-
topologicpy-0.4.
|
88
|
-
topologicpy-0.4.
|
89
|
-
topologicpy-0.4.
|
90
|
-
topologicpy-0.4.
|
91
|
-
topologicpy-0.4.
|
87
|
+
topologicpy-0.4.88.dist-info/LICENSE,sha256=RUmXeeqj63bBySLJjEfhwb9OE7M8h9K6HuOBF3ASVyI,35697
|
88
|
+
topologicpy-0.4.88.dist-info/METADATA,sha256=sG41klx83222pQaDnTv93Z_MX89sgVRs4FzoGErED2k,7278
|
89
|
+
topologicpy-0.4.88.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
90
|
+
topologicpy-0.4.88.dist-info/top_level.txt,sha256=J30bDzW92Ob7hw3zA8V34Jlp-vvsfIkGzkr8sqvb4Uw,12
|
91
|
+
topologicpy-0.4.88.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|