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

sort fit params

parent ee159c0a
No related branches found
No related tags found
1 merge request!11Add km3net dataformat
Pipeline #8234 passed with warnings
...@@ -178,7 +178,8 @@ class OfflineKeys: ...@@ -178,7 +178,8 @@ class OfflineKeys:
list of all "trks.fitinf" keys. list of all "trks.fitinf" keys.
""" """
if self._fit_keys is None: if self._fit_keys is None:
self._fit_keys = [*self.fitparameters.keys()] self._fit_keys = sorted(self.fitparameters, key=self.fitparameters.get, reverse=False)
# self._fit_keys = [*fit.keys()]
return self._fit_keys return self._fit_keys
@property @property
......
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