Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert subcommand and automatic converter use different syntax for options #115

Open
aivanova5 opened this issue Oct 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@aivanova5
Copy link
Contributor

Problem description

This works correctly,
gridlabd convert -i MODEL_NAME.csv -o MODEL_NAME.glm -f csv-table -t glm-object -O module:powerflow

However -M or --module or -O pick up

{'-O': True, 'module:powerflow': True} gets passed to convert()

In addition, the implementation with : is inconsistent with other converters.

Archive.zip

@dchassin
Copy link
Member

This issue is more complicated that it seems at first. The convert subcommand and the automatic converter options use different syntax. These need to be consistent.

@dchassin dchassin changed the title csv-table2glm-object options are not working Convert subcommand and automatic converter use different syntax for options Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Issue
Development

No branches or pull requests

2 participants