Skip to content

v1.0.2

Latest
Compare
Choose a tag to compare
@AlexanderHeidelbach AlexanderHeidelbach released this 17 Jul 15:02
· 140 commits to main since this release

b2luigi v1.0.2

Summary

The main goal of this release is the implementation of the --new flag for gb2_ds_get in the Gbasf2Process. With the new changes, the usage of the --new is no longer restricted to the belle accounting group. Additional changes include the beginning of the depreciation processes for very user-specific implementations in b2luigi such as b2luigi/basf_helper/data.py and the Basf2PathTask, and more documentation updates.

Changes

  • Gbasf2Process

    The addition of the method search_pattern_in_folder now provides a way to search for the project name in the accounting group folder. This addition is necessary due to Belle II-user-based repositories' different directory structures (accounting group belle) and group-based repositories. From a user's point of view, nothing has to be changed. Downloads from the gabsf2 Grid will always use the --new flag.

  • Deprecation

    • b2luigi/basf_helper/data.py will be entirely depricated in the future. The tasks in this file are very tailored to user-specific problems and are no longer maintained. All the default paths given for specific file structures are no longer existent.
    • The Basf2PathTask would assert the basf2 git hash upon running the task. Since this can lead to errors when running tasks from different environments and different basf2 releases, the assertion is now deleted. The git_hash parameter is kept for the Basf2PathTask.
  • Documentation

    • Adjusted documentation links to point to https://b2luigi.belle2.org//
    • Instructions on how to utilise the git_hash parameter
    • External package linking
    • Update the developer instructions
    • More links to the luigi documentation

Compatibility

The git_hash parameter in Basf2PathTask is no longer asserted. Tasks specifically depending on this assertion might display unexpected behaviour.

Contributors

Belle II collaboration.

We appreciate the continued support and contributions from the community. Thank you! 🙌

Full Changelog: v1.0.1...v1.0.2