moleculekit.support module

moleculekit.support.pack_double_buffer(data)
moleculekit.support.pack_int_buffer(data)
moleculekit.support.pack_string_buffer(data)

data1 = data.astype(dtype=numpy.string_)

# buf = [create_string_buffer(data[i].encode(‘ascii’)) for i in range(len(data))]

buf = [create_string_buffer(data1[i]) for i in range(len(data1))] ptr = (c_char_p * len(data1))()

for i in range(0, len(data1)):

ptr[i] = addressof(buf[i])

moleculekit.support.pack_ulong_buffer(data)
moleculekit.support.string_to_tempfile(content, ext)
moleculekit.support.xtc_lib()