A lot of tasks needlessly define wrapper functions which just call another function. This makes the code hard to follow. Instead, we should be using the task decorator directly. Example:
|
@task() |
|
def generate_pairs_for_classifier(pairs, excluded_pairs): |
|
return generate_pairs_for_classifier_core(pairs, excluded_pairs) |
A lot of tasks needlessly define wrapper functions which just call another function. This makes the code hard to follow. Instead, we should be using the
taskdecorator directly. Example:ram_utils/ramutils/tasks/montage.py
Lines 24 to 26 in b33894b