v0.10.0
Changed
-
For local basf2 versions, change how hash for
basf2_release
Parameter is calculated. Now use basf2 functionality to get the version, to be consistent with the output ofbasf2 --version
. The new hash encodes both the local and central basf2 release, the basf2 functiongetCommitID
. When basf2 is not set up, print warning before returning"not_set"
. Thanks to @GiacomoXT in #193.Warning: If you use local basf2 versions, that is your
basf2_release
is a git hash, this will change your b2luigi target output paths. This means that tasks that were marked complete, might suddenly not be complete anymore after updating to this release. A workaround is to check for the new expected path viapython3 <steering_fname>.py --show_output
and rename thegit_hash=<…>
directory. -
Apply
max_events
Parameter not by changing the environment singleton, but instead forward it tobasf2.process
call. This should hopefully not affect the behaviour in practice. Also by @GiacomoXT in #193 -
Refactor the basf2 related examples to use more idiomatic, modern basf2 code, e.g. using
basf2.Path()
instead ofbasf2.create_path()
. . Also by @GiacomoXT in #193
Fixed
- Fix example
SimulationTask
task inbasf2_chain_example.py
, which probably wasn't working as it was missing the Geometry module. Also by @GiacomoXT in #193
Full Changelog: v0.10.0...main