chime-experiment / alpenhorn

alpenhorn manages files produced by the acquisition system. This alpenhorn is mostly legacy these days. Most alpenhorn development is going on in alpenhorn2: https://github.com/radiocosmology/alpenhorn/
0 stars 0 forks source link

fix: allow click commands with underscores #25

Closed rikvl closed 7 months ago

rikvl commented 7 months ago

Using click version 7 caused alpenhorn to crash because it turns functions like def push_success into commands like push-success

I implemented a solution at the click.group level as suggested here: https://click.palletsprojects.com/en/8.1.x/upgrading/#upgrading-to-7-0

ljgray commented 7 months ago

Looks good. It would probably be helpful to have a comment in there explaining why this is being done