From 967c45b33c4b93b00cc06b6fc7c218a469fe8855 Mon Sep 17 00:00:00 2001 From: Maciej Bartkowiak Date: Wed, 27 Mar 2024 13:26:55 +0000 Subject: [PATCH] Bring back the missing Cython string specification --- MDANSE/Extensions/xtc/trr.pyx | 2 +- MDANSE/Extensions/xtc/xtc.pyx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MDANSE/Extensions/xtc/trr.pyx b/MDANSE/Extensions/xtc/trr.pyx index 957f661773..711038cdd1 100644 --- a/MDANSE/Extensions/xtc/trr.pyx +++ b/MDANSE/Extensions/xtc/trr.pyx @@ -43,7 +43,7 @@ # License along with MDTraj. If not, see . ############################################################################## - +# cython: c_string_type=str, c_string_encoding=ascii import os import warnings diff --git a/MDANSE/Extensions/xtc/xtc.pyx b/MDANSE/Extensions/xtc/xtc.pyx index 170eb79a91..49b0a0d299 100644 --- a/MDANSE/Extensions/xtc/xtc.pyx +++ b/MDANSE/Extensions/xtc/xtc.pyx @@ -42,7 +42,7 @@ # License along with MDTraj. If not, see . ############################################################################## - +# cython: c_string_type=str, c_string_encoding=ascii import os import warnings