Skip to content
Snippets Groups Projects
Commit 03f94155 authored by Zineb Aly's avatar Zineb Aly
Browse files

remove hard-coded fitinf

parent ce086e7b
No related branches found
No related tags found
No related merge requests found
......@@ -831,8 +831,8 @@ class OfflineTrack:
"{:30} {:^2} {:>26}".format(k, ':', str(v))
for k, v in zip(self._keys, self._values) if k not in ['fitinf']
]) + "\n\t" + "\n\t".join([
"{:30} {:^2} {:>26}".format(k, ':', str(self._values[18][v]))
for k, v in self._fitparameters.items() if len(self._values[18])>v
"{:30} {:^2} {:>26}".format(k, ':', str(getattr(self, 'fitinf')[v]))
for k, v in self._fitparameters.items() if len(getattr(self, 'fitinf'))>v
]) # I don't like 18 being explicit here
def __getitem__(self, item):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment