Skip to content

Commit

Permalink
Fix error when accessing head properties for history and profile data
Browse files Browse the repository at this point in the history
  • Loading branch information
evalaplace committed Oct 8, 2023
1 parent 4aa1038 commit cca5e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesaPlot/file_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def __getitem__(self, key):
if key in self.data.dtype.names:
return self.data[key]
if key in self.head.dtype.names:
return self.head[key][0]
return self.head[key]

try:
return self.__dict__[key]
Expand Down

0 comments on commit cca5e73

Please sign in to comment.