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

Fixed a few issues discovered in testing on python3 #260

Merged
merged 3 commits into from
Apr 29, 2019

Conversation

duncanmmacleod
Copy link
Member

This PR fixes three bugs found when testing deployment with python3.

so that things aren't broken when we try to use the same table for data processing
so that we can index it with python3
@codecov
Copy link

codecov bot commented Apr 26, 2019

Codecov Report

Merging #260 into master will increase coverage by 0.03%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
+ Coverage   38.84%   38.87%   +0.03%     
==========================================
  Files          47       47              
  Lines        7420     7422       +2     
==========================================
+ Hits         2882     2885       +3     
+ Misses       4538     4537       -1
Flag Coverage Δ
#Linux 38.87% <33.33%> (+0.03%) ⬆️
#python27 38.84% <33.33%> (+0.03%) ⬆️
#python36 38.87% <33.33%> (+0.03%) ⬆️
#python37 38.87% <33.33%> (+0.03%) ⬆️
Impacted Files Coverage Δ
gwsumm/tabs/etg.py 15.12% <0%> (ø) ⬆️
gwsumm/archive.py 76.27% <100%> (+0.13%) ⬆️
gwsumm/tabs/sei.py 15.18% <40%> (+0.72%) ⬆️

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 29fdde7...31574d7. Read the comment docs.

2 similar comments
@codecov
Copy link

codecov bot commented Apr 26, 2019

Codecov Report

Merging #260 into master will increase coverage by 0.03%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
+ Coverage   38.84%   38.87%   +0.03%     
==========================================
  Files          47       47              
  Lines        7420     7422       +2     
==========================================
+ Hits         2882     2885       +3     
+ Misses       4538     4537       -1
Flag Coverage Δ
#Linux 38.87% <33.33%> (+0.03%) ⬆️
#python27 38.84% <33.33%> (+0.03%) ⬆️
#python36 38.87% <33.33%> (+0.03%) ⬆️
#python37 38.87% <33.33%> (+0.03%) ⬆️
Impacted Files Coverage Δ
gwsumm/tabs/etg.py 15.12% <0%> (ø) ⬆️
gwsumm/archive.py 76.27% <100%> (+0.13%) ⬆️
gwsumm/tabs/sei.py 15.18% <40%> (+0.72%) ⬆️

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 29fdde7...31574d7. Read the comment docs.

@codecov
Copy link

codecov bot commented Apr 26, 2019

Codecov Report

Merging #260 into master will increase coverage by 0.03%.
The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
+ Coverage   38.84%   38.87%   +0.03%     
==========================================
  Files          47       47              
  Lines        7420     7422       +2     
==========================================
+ Hits         2882     2885       +3     
+ Misses       4538     4537       -1
Flag Coverage Δ
#Linux 38.87% <33.33%> (+0.03%) ⬆️
#python27 38.84% <33.33%> (+0.03%) ⬆️
#python36 38.87% <33.33%> (+0.03%) ⬆️
#python37 38.87% <33.33%> (+0.03%) ⬆️
Impacted Files Coverage Δ
gwsumm/tabs/etg.py 15.12% <0%> (ø) ⬆️
gwsumm/archive.py 76.27% <100%> (+0.13%) ⬆️
gwsumm/tabs/sei.py 15.18% <40%> (+0.72%) ⬆️

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 29fdde7...31574d7. Read the comment docs.

@@ -381,7 +384,7 @@ def write_state_html(self, state):
rows[-1].append('<br>'.join(assoc))
else:
rows[-1].append('-')
page.add(str(html.table(
page.add(str(gwhtml.table(
Copy link

Choose a reason for hiding this comment

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

Good catch @duncanmmacleod, I don't know how I missed this one!

Copy link

@alurban alurban left a comment

Choose a reason for hiding this comment

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

Thanks @duncanmmacleod, this all LGTM, I'll hold off merging until your testing is done

@duncanmmacleod
Copy link
Member Author

@alurban, I believe that no other issues have been found in testing, please merge, and tag a new release when you get a chance. Thanks.

@alurban alurban merged commit 4bf6b29 into gwpy:master Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants