Skip to content

Some minor cosmetic changes#2

Open
SimonHegele wants to merge 3 commits intoZiemertLab:masterfrom
SimonHegele:master
Open

Some minor cosmetic changes#2
SimonHegele wants to merge 3 commits intoZiemertLab:masterfrom
SimonHegele:master

Conversation

@SimonHegele
Copy link

Rework of the command-line interface

Implementation of the ARTSArgumentParser as a separate class that extends argparse.ArgumentParser.
Optional parameters are divided into groups for more clarity.

parse_input_orgs, minor edit and alternative implementation

Special treatment for lists with only one element is not necessary here, so I have removed the corresponding lines of code.

The purpose of this function seems to be to parse comma-separated lists and give the elements unique names by appending numbers. I have included an alternative implementation that would ensure that all elements with the same name are given their own sequential numbering. However, parse_input_orgs() is only applied to the input from ARTS anyway. This should consist of file paths, which are unique anyway.

Best, Simon

SpankFrank and others added 3 commits February 2, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants