ecoli.library.convert_update
Utilities for Converting Updates
- ecoli.library.convert_update.convert_numpy_to_builtins(update)[source]
Convert an update to use Python builtins instead of Numpy types
Convert the following:
numpy.int64
toint
numpy.str_
tostr
- Parameters:
update – The update to convert. Will not be modified.
- Returns:
The converted update.