Skip to content

Commit

Permalink
prepare release v1.4.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
VanyaBelyaev committed Feb 6, 2020
1 parent 5ee673d commit 75d7ced
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ include(CTest)

set(OSTAP_VERSION_MAJOR 1)
set(OSTAP_VERSION_MINOR 4)
set(OSTAP_VERSION_PATCH 6)
set(OSTAP_VERSION_TWEAK 1)
set(OSTAP_VERSION_PATCH 7)
set(OSTAP_VERSION_TWEAK 0)

set(OSTAP_VERSION ${OSTAP_VERSION_MAJOR}.${OSTAP_VERSION_MINOR}.${OSTAP_VERSION_PATCH}.${OSTAP_VERSION_TWEAK})

Expand Down
4 changes: 3 additions & 1 deletion ReleaseNotes/release_notes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# v1.4.7.0

## New features:

1. Slight improvements in `ostap.fittig.minuit`
1. Slight improvements in `ostap.fitting.minuit`
1. add new test for `ROOT.TMiniut` decorations : `test_fitting_minuit`
1. allow `pathos` to be used for paralellization for python version > 3.6
1. add test `test_parallel_dill` to check the the problem with combniation
Expand Down
79 changes: 79 additions & 0 deletions ReleaseNotes/v1.4.7.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# v1.4.7.0

## New features:

1. Slight improvements in `ostap.fittig.minuit`
1. add new test for `ROOT.TMiniut` decorations : `test_fitting_minuit`
1. allow `pathos` to be used for paralellization for python version > 3.6
1. add test `test_parallel_dill` to check the the problem with combniation
of different versions of `ROOT` , `dill` and `python`.
1. improve `ostap.fitting.toys`
1. improve `ostap.parallel.parallel_toys`
1. add `test_fitting_toys`
1. add `test_parallel_toys`
1. add examples/tests for evaluation of significance with toys
1. improve the output of `ls`-method for for `compressed_shelve`
1. few minor tweaks needed for `picalib`
1. add `DisplayTree` into `ostap.logger.utils` - useful tool to render the tree-like structures
1. impove `ls` methods for all shelve-like databases
1. add `ls_tree` and `ls_table` method for `ROOT.TDirectory`
```
f = ROOT.TFile ( .. )
f.ls_tree ()
f.ls_table()
```
1. speedup construction of Bernstein polynomials from the list of roots
1. re-write `PDF.wilks` method to use `ROOT.RooProfileLL`
1. add methods `PDF.graph_nll` and `PDF.graph_profile` for
a bit more easy and more fast drawing of NLL-scans and profiles
```
pdf = ...
g1 = pdf.graph_nll ( 'S' , vrange ( 0 , 20.0 , 100 ) , dataset )
g2 = pdf.graph_profile ( 'S' , vrange ( 0 , 20.0 , 100 ) , dataset , fix = ['gamma','mu'] )
```
1. allow to suppress certain RooFit message topics from the configuration file, e.g.
```
[RooFit]
RemoveTopics = Plotting ,
Caching ,
Eval ,
Minization ,
Integration ,
Optimization ,
NumericIntegration ,
Fitting
```
1. Add more flexibility for parallel `Task` : one can specify the additional environment variables, prepend and append path-like environment variables, execution directory, ... variables are expanded.
```
mytask = MyTask (... )
mytask.environment [ 'LD_LIBRARY_PATH' ] = 'some_directory1:some_directory2'
mytask.prepend_to [ 'PATH' ] = 'some_directory1:some_directory2:some_directory3'
mytask.append_to [ 'PYTHONPATH' ] = '$HOME/python' ## will be expanded at remote host
mytask.directory = 'some_existing_remote_directory'
mytask.dot_in_path = '.' in sys.path
```
1. add new function `random_random` into `ostap/parallel/utils.py`, that sets (hopefully) proper seeds for the `random`, `ROOT.gRandom` and `ROOT.RooRandom`
1. add invocation of `random_random` from `initialize_remote` for the parallel toys.
1. add methods `graph_nll` and `graph_profile` for class `SimFit`
```
pdf = ...
g1 = pdf.graph_nll ( 'S' , vrange ( 0 , 20.0 , 100 ) , dataset )
g2 = pdf.graph_profile ( 'S' , vrange ( 0 , 20.0 , 100 ) , dataset , fix = ['gamma','mu'] )
```

## Backward incompatible changes

## Bug fixes:

1. Tiny fix in `ROOT.TMinuit.cor`
1. Tiny fix in `ROOT.TMinuit.cov`
1. more fixes in `ostap/fitting/minuit.py`
1. small fixes in `ostap/fitting/toys.py`
1. tiny fix in `ostap/math/random_ext.py`
1. Fix signature of `ds_project` method from `ostap.fitting.dataset.py`
1. few minor fixes needed for `picalib`
1. fix `Ostap::HistoProject::project` for weighted `RooAbsData`,
now uncertainties are evaluated correctly, properly accounting the errors in weights
1. fix typo in `paralllel_toys2`
1. fix `random_random` for python3

0 comments on commit 75d7ced

Please sign in to comment.