Skip to content

Conversation

@adamrp
Copy link
Contributor

@adamrp adamrp commented May 9, 2015

Fix #1070

@josenavas
Copy link
Contributor

@adamrp it looks like there are legitimate test failures

@adamrp adamrp force-pushed the ebi_empty_files-issue-1070 branch 2 times, most recently from 971fb3d to 6f516ed Compare May 13, 2015 15:44
@adamrp adamrp mentioned this pull request May 13, 2015
@adamrp
Copy link
Contributor Author

adamrp commented May 13, 2015

Getting the same build failures that are over in #1175. Not sure exactly why this just started to be a problem, but the error message is related to pandas, which had an update on May 11, so I'm suspecting something there. The only thing I could find in the changelog related to this warning being raised is from an 8 Oct 2014 release (version 0.15).

Anyways, I think the issue is that because the warning we're looking for isn't the first warning, it's erroring (according to the nympy documentation on assert_warns), so we might have to take a different approach, perhaps something that borrows from this SO post.

@ElDeveloper
Copy link
Contributor

Although less desirable, we could also just stick with an older version
of Pandas i.e. the one that was working just fine.

On (May-13-15|12:45), adamrp wrote:

Getting the same build failures that are over in #1175. Not sure exactly why this just started to be a problem, but the error message is related to pandas, which had an update on May 11, so I'm suspecting something there. The only thing I could find in the changelog related to this warning being raised is from an 8 Oct 2014 release (version 0.15).

Anyways, I think the issue is that because the warning we're looking for isn't the first warning, it's erroring (according to the nympy documentation on assert_warns), so we might have to take a different approach, perhaps something that borrows from this SO post.


Reply to this email directly or view it on GitHub:
#1172 (comment)

@squirrelo
Copy link
Contributor

I think I've traced the issue to here, but I don't know enough about Pandas to fix the issue.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 79.24% when pulling 6f516ed on adamrp:ebi_empty_files-issue-1070 into da407f6 on biocore:master.

@adamrp
Copy link
Contributor Author

adamrp commented May 18, 2015

Ready for review

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you use join instead of string concatenation?

Copy link
Contributor

Choose a reason for hiding this comment

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

you can even use the partial function, so it will simplify the following 3 lines.

@josenavas
Copy link
Contributor

Thanks @adamrp , just a small comment.

@adamrp adamrp force-pushed the ebi_empty_files-issue-1070 branch from 6f516ed to dd99ee5 Compare May 18, 2015 16:25
@adamrp
Copy link
Contributor Author

adamrp commented May 18, 2015

Thanks @josenavas, done!

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 79.23% when pulling dd99ee5 on adamrp:ebi_empty_files-issue-1070 into 2d71d7d on biocore:master.

@josenavas
Copy link
Contributor

👍

squirrelo added a commit that referenced this pull request May 20, 2015
Stop writing empty files and improve EBI tests
@squirrelo squirrelo merged commit e492531 into qiita-spots:master May 20, 2015
@adamrp adamrp deleted the ebi_empty_files-issue-1070 branch May 20, 2015 20:43
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.

Modify EBI code so that it does not upload empty files

5 participants