Skip to content

Commit

Permalink
fix float
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Aug 6, 2024
1 parent 84e03be commit 7381894
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions atomrdf/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7381894

Please sign in to comment.