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

Error running Scallop: conflicting option string #12

Open
moqingyan opened this issue Sep 21, 2023 · 0 comments
Open

Error running Scallop: conflicting option string #12

moqingyan opened this issue Sep 21, 2023 · 0 comments

Comments

@moqingyan
Copy link

The new version of make develop-scallop-cli yields the following error running any scl file:

Traceback (most recent call last):
  File "<DIR>/local/anaconda3/envs/scallop_env/bin/scallop", line 8, in <module>
    sys.exit(main())
  File "<DIR>/research/scallop/etc/scallop-cli/scallop/cli.py", line 148, in main
    args, unknown_args = cmd_args(plugin_registry)
  File "<DIR>/research/scallop/etc/scallop-cli/scallop/cli.py", line 44, in cmd_args
    parser = argument_parser(plugin_registry)
  File "<DIR>/research/scallop/etc/scallop-cli/scallop/cli.py", line 37, in argument_parser
    plugin_registry.setup_argument_parser(parser)
  File "<DIR>/research/scallop/etc/scallopy-ext/src/scallopy_ext/registry.py", line 30, in setup_argument_parser
    setup_fn(parser)
  File "<DIR>/research/scallop-v2/etc/scallopy-plugins/clip/src/scallop_clip/config.py", line 12, in setup_arg_parser
    parser.add_argument("--clip-model-checkpoint", type=str, default=_DEFAULT_CLIP_MODEL_CHECKPOINT)
  File "<DIR>/local/anaconda3/envs/scallop_env/lib/python3.10/argparse.py", line 1436, in add_argument
    return self._add_action(action)
  File "<DIR>/local/anaconda3/envs/scallop_env/lib/python3.10/argparse.py", line 1801, in _add_action
    self._optionals._add_action(action)
  File "<DIR>/local/anaconda3/envs/scallop_env/lib/python3.10/argparse.py", line 1638, in _add_action
    action = super(_ArgumentGroup, self)._add_action(action)
  File "<DIR>/local/anaconda3/envs/scallop_env/lib/python3.10/argparse.py", line 1450, in _add_action
    self._check_conflict(action)
  File "<DIR>/local/anaconda3/envs/scallop_env/lib/python3.10/argparse.py", line 1587, in _check_conflict
    conflict_handler(action, confl_optionals)
  File "<DIR>/local/anaconda3/envs/scallop_env/lib/python3.10/argparse.py", line 1596, in _handle_conflict_error
    raise ArgumentError(action, message % conflict_string)
argparse.ArgumentError: argument --clip-model-checkpoint: conflicting option string: --clip-model-checkpoint
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

No branches or pull requests

1 participant