Closed meliache closed 1 year ago
Patch coverage: 50.28
% and project coverage change: +1.27
:tada:
Comparison is base (
1ff3782
) 59.20% compared to head (b61f948
) 60.47%.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Partly addresses #195 in that this helps setting the setupfile directly. But it seems there are remaining issues with the current gbasf2 releases that are not fixed by this and I don't have time to fix that right now.
Usage of
gbasf2_install_directory
will cause a pending deprecation warning, but it can still be used and then the corresponding path to thesetup.sh
will be derived.Rationale:
b2luigi only needs to know which file to source to get the correct environment. The location or name of that file withing a gbasf2 install directory can change between gbasf2 releases. Providing the file path directly results in more simplicity and flexibility.
Additional enhancement:
In addition, the setting is now only obtained in the
Gbasf2Process
class and not in the free helper functions, which now get the value via function arguments. With this, the setting can be provided via a Task class attribute and the value from the Task attribute will be used everywhere as expected. This resulted in much more boiler plate code, but also it made my helper function much more usable as library function without b2luigi settings.