Changeset 13930


Ignore:
Timestamp:
Nov 1, 2019 12:19:43 PM (13 days ago)
Author:
randersson
Message:

#5819 Reverting r13925 r13928 because it breaks a ton of tests, need to look into it further

File:
1 edited

Legend:

Unmodified
Added
Removed
  • PyFMI/trunk/src/common/io.py

    r13928 r13930  
    11201120
    11211121        self.name = fmi_util.convert_array_names_list_names_int(name.view(np.int32))
    1122         self.name = [item.decode("utf8") if python3_flag and isinstance(item, bytes) else item for item in self.name]
    11231122        self.dataInfo = self.raw['dataInfo'].transpose()
    1124         self.name_lookup = {key.decode("utf8") if python3_flag and isinstance(key, bytes) else key:ind for ind,key in enumerate(self.name)}
     1123        self.name_lookup = {key:ind for ind,key in enumerate(self.name)}
    11251124       
    11261125        self._description = None
Note: See TracChangeset for help on using the changeset viewer.