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 NBA home team score in Boxscore #482

Merged
merged 1 commit into from
Sep 28, 2020
Merged

Fix NBA home team score in Boxscore #482

merged 1 commit into from
Sep 28, 2020

Conversation

roclark
Copy link
Owner

@roclark roclark commented Sep 28, 2020

The Boxscore class was producing the incorrect score for the home team, and instead was pulling the home team's second half points total. By reading the score directly from the header, the chances of running into a parsing issue are much lower in case the layout changes again on the website.

Fixes #470

Signed-Off-By: Robert Clark robdclark@outlook.com

The Boxscore class was producing the incorrect score for the home team,
and instead was pulling the home team's second half points total. By
reading the score directly from the header, the chances of running into
a parsing issue are much lower in case the layout changes again on the
website.

Signed-Off-By: Robert Clark <robdclark@outlook.com>
@roclark roclark added the bug Something isn't working label Sep 28, 2020
@roclark roclark added this to the Release 0.6.0 milestone Sep 28, 2020
@roclark roclark self-assigned this Sep 28, 2020
@codecov
Copy link

codecov bot commented Sep 28, 2020

Codecov Report

Merging #482 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #482   +/-   ##
=======================================
  Coverage   99.97%   99.97%           
=======================================
  Files          55       55           
  Lines       13023    13023           
=======================================
  Hits        13020    13020           
  Misses          3        3           
Impacted Files Coverage Δ
sportsreference/nba/constants.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db00e1c...1a974f1. Read the comment docs.

@roclark roclark merged commit e692654 into master Sep 28, 2020
@roclark roclark deleted the fix-nba-home-scores branch September 28, 2020 02:06
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
None yet
Development

Successfully merging this pull request may close these issues.

NBA Boxscores() returns incorrect home_points
1 participant