Skip to content

Commit

Permalink
Comestic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andlessa committed May 29, 2024
1 parent 201e98a commit edf7346
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/manual/source/ReleaseUpdate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ New in Version 3.0.0:
* Added option for selecting which quantum numbers to be erased (see the :ref:`ignorePromptQNumbers<erasePrompt>` option in parameters.ini)
* Added :ref:`outputFormat <parameterFileOutputFormat>` option to parameters.ini to allow for writing the output using the old format
* Changes in missing topologies (coverage): the grouping of topologies is now done only by final states and ignores the topology structure (see :ref:`missing topologies <finalStateSMS>`)
* We now report negative log likelihoods, instead of likelihoods
* We now report negative log likelihoods, instead of likelihoods
* Z2parity attribute of particles is not longer needed
* Introduced centralized database dictionary to decrease redundancies in SMS matching (see :ref:`SMS Dictionary <smsDictionary>`)
* Clustering of SMS for UL results replaced by a (simple) K-means clustering algorithm (see :ref:`Clustering <cluster>`)
Expand Down
4 changes: 2 additions & 2 deletions smodels/tools/printers/pythonPrinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,13 +406,13 @@ def _formatTheoryPredictionsCombiner(self, obj):
r_expected = self._round(obj.getRValue(expected=True))

nll = self._round(obj.likelihood( return_nll = True ))
nllmax = self._round(obj.lmax( return_nll = True ))
nllmin = self._round(obj.lmax( return_nll = True ))
nllsm = self._round(obj.lsm( return_nll = True ))

resDict = {'AnalysisID': expIDs,
'r': r, 'r_expected': r_expected,
'nll': nll,
'nll_min': nllmax,
'nll_min': nllmin,
'nll_SM': nllsm}

combRes.append(resDict)
Expand Down

0 comments on commit edf7346

Please sign in to comment.