Skip to content

Commit 74df811

Browse files
committed
Correct problem with str formatting in QuantityValues.
1 parent e6d78a4 commit 74df811

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="ferpy",
5-
version="0.1.15",
5+
version="0.1.16",
66
author="Jon Gabirondo-López",
77
author_email="jon.gabirondol@ehu.eus",
88
description="A Python implementation of the FER data structure.",

src/ferpy/main/quantity_values.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,6 @@ def __str__(self):
138138
if len(self.values) == 1 and len(self.values[0]) == 1:
139139
value = self.values[0][0]
140140
uncertainty = self.standard_uncertainties[0][0] if self.standard_uncertainties else 0
141-
return rf"${symbol} = ({value} \pm {uncertainty}) \, {unit}$"
141+
return rf"{symbol} = ({value} \pm {uncertainty}) \, {unit}"
142142

143143
return f"QuantityValues: {self.name or 'Unnamed'}"

0 commit comments

Comments
 (0)