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

clean up column names #802

Merged
merged 5 commits into from
Apr 18, 2024
Merged

Conversation

KnathanM
Copy link
Contributor

I introduced a bug where having a splits column wasn't accounted for in get column names. I also saw it was missing the weights column so added that. And generally tried to make the code more concise. Note that if there is no header row, it doesn't make sense to use any of the column CLI args (--smiles-columns, etc.) because there are no headers to reference.

Copy link
Contributor

@shihchengli shihchengli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix.

chemprop/cli/utils/parsing.py Show resolved Hide resolved
chemprop/cli/utils/parsing.py Show resolved Hide resolved
@kevingreenman kevingreenman added this to the v2.0.0 milestone Apr 17, 2024
@KnathanM KnathanM requested a review from am2145 April 17, 2024 18:08
Copy link
Contributor

@am2145 am2145 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks Nathan!

@shihchengli shihchengli merged commit af7c9d6 into chemprop:v2/dev Apr 18, 2024
11 checks passed
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.

None yet

4 participants