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

fix argparse type error: replaced 'str' with str #113

Merged
merged 1 commit into from
May 28, 2024

Conversation

marccorretge
Copy link
Contributor

This pull request fixes a ValueError caused by incorrectly using the string 'str' instead of the type str in the argparse argument definitions within opts.py.

Changes include:

  • Correcting the type parameter in add_argument calls for --root_dataset, --path_AFLink, and --dir_save to use str instead of 'str'.

These changes resolve the error and ensure the script runs correctly. Please review and merge.

@dyhBUPT
Copy link
Owner

dyhBUPT commented May 28, 2024

Thanks for your correcting! Looking forward to your more contributions~

@dyhBUPT dyhBUPT merged commit ee99507 into dyhBUPT:master May 28, 2024
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