nils-braun / b2luigi

Task scheduling and batch running for basf2 jobs made simple
GNU General Public License v3.0
17 stars 11 forks source link

Use gbasf2 `--new` downloads if proxy group is not `belle`. #200

Open meliache opened 1 year ago

meliache commented 1 year ago

In #197 an issue was discovered that gbasf2 downloads with the --new download the files into a different directory as what is expected by gbasf2 if the proxy group is not belle. @MarcelHoh hotfixed this by removing the --new flag for gbasf2 downloads. This is not an ideal solution, as the --new downloads are much faster and I assume might also become the default in some future.

Therefore, a nice enhancement would be a enhanced download code which handles both cases with the new download method. It would be ideal to simplify the code as much as possible and have as little edge-case handling as possible...