prefig 0.4.1.dev20250803054516__py3-none-any.whl → 0.4.1.dev20250806054904__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.
- prefig/core/utilities.py +4 -1
- {prefig-0.4.1.dev20250803054516.dist-info → prefig-0.4.1.dev20250806054904.dist-info}/METADATA +1 -1
- {prefig-0.4.1.dev20250803054516.dist-info → prefig-0.4.1.dev20250806054904.dist-info}/RECORD +6 -6
- {prefig-0.4.1.dev20250803054516.dist-info → prefig-0.4.1.dev20250806054904.dist-info}/LICENSE +0 -0
- {prefig-0.4.1.dev20250803054516.dist-info → prefig-0.4.1.dev20250806054904.dist-info}/WHEEL +0 -0
- {prefig-0.4.1.dev20250803054516.dist-info → prefig-0.4.1.dev20250806054904.dist-info}/entry_points.txt +0 -0
prefig/core/utilities.py
CHANGED
|
@@ -2,6 +2,9 @@ import numpy as np
|
|
|
2
2
|
from . import user_namespace as un
|
|
3
3
|
from . import label
|
|
4
4
|
|
|
5
|
+
import logging
|
|
6
|
+
logger = logging.getLogger('prefigure')
|
|
7
|
+
|
|
5
8
|
import warnings
|
|
6
9
|
with warnings.catch_warnings():
|
|
7
10
|
warnings.filterwarnings('ignore', 'legacy print')
|
|
@@ -25,7 +28,7 @@ def get_attr(element, attr, default):
|
|
|
25
28
|
try:
|
|
26
29
|
attribute = un.valid_eval(element.get(attr, default))
|
|
27
30
|
if isinstance(attribute, np.ndarray):
|
|
28
|
-
return
|
|
31
|
+
return ','.join([float2longstr(a) for a in attribute])
|
|
29
32
|
return str(attribute)
|
|
30
33
|
except (TypeError, SyntaxError): # this is a string that's not in the namespace
|
|
31
34
|
return element.get(attr, default)
|
{prefig-0.4.1.dev20250803054516.dist-info → prefig-0.4.1.dev20250806054904.dist-info}/RECORD
RENAMED
|
@@ -40,7 +40,7 @@ prefig/core/statistics.py,sha256=5qN_-ABN0EFVG12ZP95uSPk82INbWRqI3w2fUdR3wsw,345
|
|
|
40
40
|
prefig/core/tags.py,sha256=7w6E3960o_ZgZl4xYJLVJ1eLttt0vVlB4IgMZGTMyyE,4134
|
|
41
41
|
prefig/core/tangent_line.py,sha256=I9wf9VAqhnmmsh8Lzynwi7_Z1DonHXqHf8ym7eO40tk,3400
|
|
42
42
|
prefig/core/user_namespace.py,sha256=6xlkYd2g9dSiDPH0vmYj93oPzm1BFZdgyMGQ9ipKOgU,7059
|
|
43
|
-
prefig/core/utilities.py,sha256=
|
|
43
|
+
prefig/core/utilities.py,sha256=ndbB43tDDMj-RFUCCJAFgfdVb1gxYyr9WuHZoHEPC6c,2967
|
|
44
44
|
prefig/core/vector.py,sha256=lTw-y9mt6jqmbFxdPwQB4PYBQ9y4pGrQRcpRp9lBIbY,2917
|
|
45
45
|
prefig/engine.py,sha256=Zz7j2sFxeMwPN1f3GFTpaBihqguzMNJD5iBONOVL7eQ,11972
|
|
46
46
|
prefig/resources/diagcess/diagcess.html,sha256=_JOwYjDRftpXN50J5na2Ck3TRffF4qUEcjCicjHF2Vw,6067
|
|
@@ -61,8 +61,8 @@ prefig/resources/schema/pf_schema.rng,sha256=TmZQLgyK2wntXDXOiQXYcVQedlPuPh8IWrt
|
|
|
61
61
|
prefig/resources/template/pf_publication.xml,sha256=eEv8HACv610Apw5DSVNy0reLfELYqHlNy9Oq0GH7C_c,200
|
|
62
62
|
prefig/scripts/__init__.py,sha256=qJcPi1WRh9UAwu4zIFJbmxWalAMilMYqgi6LxRkF7bI,25
|
|
63
63
|
prefig/scripts/install_mj.py,sha256=5A6-oc1xbIXka5mkFE70vlp9-Rh_QoxOxGMrQi9Hkio,1219
|
|
64
|
-
prefig-0.4.1.
|
|
65
|
-
prefig-0.4.1.
|
|
66
|
-
prefig-0.4.1.
|
|
67
|
-
prefig-0.4.1.
|
|
68
|
-
prefig-0.4.1.
|
|
64
|
+
prefig-0.4.1.dev20250806054904.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
65
|
+
prefig-0.4.1.dev20250806054904.dist-info/METADATA,sha256=YcHQ3qbPZtHCNePYWmnbl1bYb6kNUxZ5gOw8eiJzLWQ,8728
|
|
66
|
+
prefig-0.4.1.dev20250806054904.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
67
|
+
prefig-0.4.1.dev20250806054904.dist-info/entry_points.txt,sha256=OP4ZQT71q2b0Zfbie-oM2Z1HlxpkuX7qaxJnzwsBOVQ,42
|
|
68
|
+
prefig-0.4.1.dev20250806054904.dist-info/RECORD,,
|
{prefig-0.4.1.dev20250803054516.dist-info → prefig-0.4.1.dev20250806054904.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|