diff --git a/mdf4reader.py b/mdf4reader.py index 5d004a2..286e92c 100644 --- a/mdf4reader.py +++ b/mdf4reader.py @@ -658,9 +658,9 @@ def __init__(self, info, dataGroup, channelGroup, recordIDsize, byte_aligned=Tru self.nBytes = info['CGBlock'][dataGroup][channelGroup]['cg_invalid_bytes'] self.bitCount = self.nBytes * 8 self.channelType = 0 # fixed length data - self.dataFormat = arrayformat4(self.signalDataType, self.bitCount) + self.dataFormat = str(self.nBytes) + 'V' self.RecordFormat = ((self.name, convertName(self.name)), self.dataFormat) - self.Format = datatypeformat4(self.signalDataType, self.bitCount) + self.Format = str(self.nBytes) + 's' self.CFormat = Struct(self.Format) self.bitOffset = 0 self.byteOffset = info['CGBlock'][dataGroup][channelGroup]['cg_data_bytes'] diff --git a/setup.py b/setup.py index ece3569..914e2c6 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ long_description=long_description, # The project's main homepage. - url='https://code.google.com/p/mdfreader', + url='https://github.com/ratal/mdfreader', # Author details author='Aymeric Rateau', @@ -66,7 +66,7 @@ # project is installed. For an analysis of "install_requires" vs pip's # requirements files see: # https://packaging.python.org/en/latest/technical.html#install-requires-vs-requirements-files - install_requires=['numpy>=1.6', 'Sympy', 'bitarray'], + install_requires=['numpy>=1.6', 'sympy', 'bitarray'], # List additional groups of dependencies here (e.g. development dependencies). # You can install these using the following syntax, for example: