Skip to content

v0.10.0

Compare
Choose a tag to compare
@meliache meliache released this 03 Apr 13:41
· 45 commits to main since this release
ccaa082

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 of basf2 --version. The new hash encodes both the local and central basf2 release, the basf2 function getCommitID. 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 via python3 <steering_fname>.py --show_output and rename the git_hash=<…> directory.

  • Apply max_events Parameter not by changing the environment singleton, but instead forward it to basf2.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 of basf2.create_path(). . Also by @GiacomoXT in #193

Fixed

  • Fix example SimulationTask task in basf2_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