From 73818946fff4cb41db07a40a3026784ee676011a Mon Sep 17 00:00:00 2001 From: Sarath Date: Tue, 6 Aug 2024 17:13:57 +0200 Subject: [PATCH] fix float --- atomrdf/structure.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/atomrdf/structure.py b/atomrdf/structure.py index c1c7d49..05d29f8 100644 --- a/atomrdf/structure.py +++ b/atomrdf/structure.py @@ -1725,9 +1725,9 @@ def _add_simulation_cell(self): ) repetitions = self.schema.simulation_cell.repetitions() - self.graph.add((simulation_cell, CMSO.hasRepetition_x, Literal(float(repetitions[0]), datatype=XSD.integer))) - self.graph.add((simulation_cell, CMSO.hasRepetition_y, Literal(float(repetitions[1]), datatype=XSD.integer))) - self.graph.add((simulation_cell, CMSO.hasRepetition_z, Literal(float(repetitions[2]), datatype=XSD.integer))) + self.graph.add((simulation_cell, CMSO.hasRepetition_x, Literal(repetitions[0], datatype=XSD.integer))) + self.graph.add((simulation_cell, CMSO.hasRepetition_y, Literal(repetitions[1], datatype=XSD.integer))) + self.graph.add((simulation_cell, CMSO.hasRepetition_z, Literal(repetitions[2], datatype=XSD.integer))) self.simulation_cell = simulation_cell def _add_simulation_cell_properties(self):