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

Catch no subject error early #463

Merged
merged 3 commits into from Sep 22, 2020
Merged

Conversation

36000
Copy link
Collaborator

@36000 36000 commented Sep 22, 2020

No description provided.

@36000 36000 changed the title Catch no subject error early [WIP] Catch no subject error early Sep 22, 2020
@arokem
Copy link
Collaborator

arokem commented Sep 22, 2020

Any chance to add a test of this?

@pep8speaks
Copy link

pep8speaks commented Sep 22, 2020

Hello @36000! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-09-22 17:19:15 UTC

@36000 36000 changed the title [WIP] Catch no subject error early Catch no subject error early Sep 22, 2020
@@ -180,6 +180,23 @@ def test_AFQ_custom_tract():


@pytest.mark.nightly2
def test_AFQ_no_derivs():
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this test really be marked as nightly? It probably runs pretty quickly (?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

test_AFQ_init is also marked nightly. Initializing an afq object takes about a minute I think, and if we have a lot of these tests, they can add up. To reduce time to make afq object, see: #448

Copy link
Collaborator

Choose a reason for hiding this comment

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

OK - that makes sense. Merging!

@arokem arokem merged commit e1d4ad4 into yeatmanlab:master Sep 22, 2020
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

3 participants