prefig 0.5.1__py3-none-any.whl → 0.5.2__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/repeat.py CHANGED
@@ -55,13 +55,13 @@ def repeat(element, diagram, parent, outline_status):
55
55
  element_cp = copy.deepcopy(element)
56
56
  outline = element.get('outline')
57
57
  id = element.get('id')
58
- if not id.startswith('pf__'):
59
- id = 'pf__' + id
60
58
  element.clear()
61
59
  element.tag = 'group'
62
60
  if outline is not None:
63
61
  element.set('outline', outline)
64
62
  if id is not None:
63
+ if not id.startswith('pf__'):
64
+ id = 'pf__' + id
65
65
  element.set('id', id)
66
66
  element_cp.set('id', id)
67
67
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prefig
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: An authoring system for mathematical diagrams
5
5
  Home-page: https://prefigure.org
6
6
  License: GPL-3.0-or-later
@@ -32,7 +32,7 @@ prefig/core/point.py,sha256=n95dHgEjynMauBzfSXbQPnZqyUEWRm4HA9fUTh-e_8M,8912
32
32
  prefig/core/polygon.py,sha256=BJ-n9XnxSHb3UFu7lCqOEb48uyGvGGwsA_65dR8_6X4,11429
33
33
  prefig/core/read.py,sha256=Q1Nsluwysg3M5wtUmwIirfNo-Rw9-dFJPEeM4pDCpyo,1988
34
34
  prefig/core/rectangle.py,sha256=TzdVckcPfNV8fI1xs8FgHadx06wn2P6A504oyDO3xGY,3567
35
- prefig/core/repeat.py,sha256=yWQB197Q0T_N3Q3UGYez3sYAeKQpef9FVDGCWYsqE_k,3792
35
+ prefig/core/repeat.py,sha256=iQHJWhhx6hih1SPFBTk-BSyWSyxDvlOikuKb2F6iHSY,3800
36
36
  prefig/core/riemann_sum.py,sha256=T2dQgJIY17QuuPDOB8XWIP8HYmg5jOQ-LroFH7tiGAU,3012
37
37
  prefig/core/shape.py,sha256=JUy6etGGYzlx5d_CzKpIcK4vmx9BTpJixbCQ3-q87QE,9072
38
38
  prefig/core/slope_field.py,sha256=KThnVBuO_3QK7k6xxCWnsbiv-X9P8oS1SgFPLoynA-E,8797
@@ -61,8 +61,8 @@ prefig/resources/schema/pf_schema.rng,sha256=6U72-HDhdS9drcKoTBVyBxo1XLXxMnPJvrQ
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.5.1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
65
- prefig-0.5.1.dist-info/METADATA,sha256=RjBlEXpJ5dvnSZaOjZW2D1Bru0Dn_H4FRGd6Bv1zXoM,8690
66
- prefig-0.5.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
67
- prefig-0.5.1.dist-info/entry_points.txt,sha256=OP4ZQT71q2b0Zfbie-oM2Z1HlxpkuX7qaxJnzwsBOVQ,42
68
- prefig-0.5.1.dist-info/RECORD,,
64
+ prefig-0.5.2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
65
+ prefig-0.5.2.dist-info/METADATA,sha256=oD2Es0nmEh7uG4sAJxe6baO7uz698TCGr2QQbnmz_Jw,8690
66
+ prefig-0.5.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
67
+ prefig-0.5.2.dist-info/entry_points.txt,sha256=OP4ZQT71q2b0Zfbie-oM2Z1HlxpkuX7qaxJnzwsBOVQ,42
68
+ prefig-0.5.2.dist-info/RECORD,,
File without changes