Skip to content

Conversation

@christianbrodbeck
Copy link
Member

Some enhancements to the KIT2FIFF GUI:

  • button to preview the events: this is something I've wished for many times, makes it easier to make sure one has selected the right event settings
  • button to plot raw (just uses raw.plot()). On my setup this works nicely with the traits gui.

screen shot 2016-07-27 at 10 39 42 am

@codecov-io
Copy link

codecov-io commented Jul 28, 2016

Current coverage is 87.27% (diff: 60.83%)

Merging #3463 into master will decrease coverage by 0.02%

@@             master      #3463   diff @@
==========================================
  Files           341        341          
  Lines         60372      60452    +80   
  Methods           0          0          
  Messages          0          0          
  Branches       9229       9246    +17   
==========================================
+ Hits          52705      52760    +55   
- Misses         4915       4934    +19   
- Partials       2752       2758     +6   

Sunburst

Powered by Codecov. Last update 97861e9...12623b7

@teonbrooks teonbrooks changed the title [WIP] Kit2fiff GIU [WIP] Kit2fiff GUI Jul 28, 2016
@christianbrodbeck christianbrodbeck force-pushed the kit2fiff branch 2 times, most recently from a6f4ec2 to c006240 Compare August 8, 2016 18:56
@christianbrodbeck
Copy link
Member Author

Two errors that seem opaque to me since they don't seem to be relate to the changes. Do these look familiar to anyone?

  File "/home/ubuntu/miniconda/envs/circleenv/lib/python2.7/site-packages/pyface/ui/qt4/code_editor/pygments_highlighter.py", line 39, in get_tokens_unprocessed
    for item in action(self, m):
TypeError: 'NoneType' object is not callable

and

X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  72 (X_PutImage)
  Resource id in failed request:  0x200013
  Serial number of failed request:  45
  Current serial number in output stream:  48

@larsoner
Copy link
Member

larsoner commented Aug 9, 2016 via email

@christianbrodbeck christianbrodbeck changed the title [WIP] Kit2fiff GUI [MRG] Kit2fiff GUI Aug 10, 2016
@christianbrodbeck christianbrodbeck changed the title [MRG] Kit2fiff GUI [MRG] Kit2fiff GUI: Test event settings Aug 10, 2016
@christianbrodbeck
Copy link
Member Author

In that case this is ready. The changes in non-GUI code are minimal, restricted to factoring out some functionality now required in the GUI.

@larsoner
Copy link
Member

LGTM +1 for merge but you need a rebase

@christianbrodbeck
Copy link
Member Author

Rebased. The Travis error is

X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)

@larsoner
Copy link
Member

I get that error locally, too, sometimes. It's an unrelated mayavi problem (cc @agramfort this is what always prevents me from building doc)

@larsoner
Copy link
Member

Any KIT users out there who could test this? @teonbrooks is that just you?

@teonbrooks
Copy link
Member

@kingjr, free to test it?

@kingjr
Copy link
Member

kingjr commented Aug 23, 2016

Not really

Le 23 août 2016 22:55, "Teon L Brooks" notifications@github.com a écrit :

@kingjr https://github.com/kingjr, free to test it?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#3463 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEp7DDXaOPb8wISbHbeVI072gBxggxcKks5qi15cgaJpZM4JWQ0I
.

@christianbrodbeck
Copy link
Member Author

I've tested it with multiple people's data by now if that helps...

@larsoner larsoner added this to the 0.13 milestone Sep 8, 2016
@larsoner
Copy link
Member

larsoner commented Sep 8, 2016

Looks like Travis bombed with the VTK segfault of death. I'll restart and see if it works at least intermittently.

@larsoner
Copy link
Member

larsoner commented Sep 8, 2016

It bombed again, I restarted it again. But really if it fails this often we need to fix it -- can't have the CIs fail that often. Did you add something in this PR that would cause it to render differently? VTK on Travis (and Ubuntu in general) is buggy, so we have to find a way to make it work.

@christianbrodbeck
Copy link
Member Author

I don’t think there is anything in that PR that should cause it to fail more… What is the failure rate on other PRs?

On Sep 8, 2016, at 3:47 PM, Eric Larson notifications@github.com wrote:

It bombed again, I restarted it again. But really if it fails this often we need to fix it -- can't have the CIs fail that often. Did you add something in this PR that would cause it to render differently? VTK on Travis (and Ubuntu in general) is buggy, so we have to find a way to make it work.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #3463 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AAI5a4Tkdz4mF7h5qShRJ5M1qg9b3JHHks5qoGZQgaJpZM4JWQ0I.

@larsoner
Copy link
Member

larsoner commented Sep 8, 2016 via email

@christianbrodbeck
Copy link
Member Author

Is there a way to run it on the intermediate commits to see whether it starts failing at a specific point?

On Sep 8, 2016, at 6:15 PM, Eric Larson notifications@github.com wrote:

Near zero failures

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #3463 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AAI5a28h9HuWq8fIf_slVnDCl4P4MUlEks5qoIj8gaJpZM4JWQ0I.

@larsoner
Copy link
Member

larsoner commented Sep 9, 2016

You can re-push them one by one (like via force-push for the first one) or enable Travis-CI on your own repository and push to some other branch there

@christianbrodbeck christianbrodbeck force-pushed the kit2fiff branch 3 times, most recently from 371b2db to e2593d5 Compare September 9, 2016 15:38
@agramfort
Copy link
Member

agramfort commented Sep 10, 2016

travis and appveyor are happy

+1 for merge

@christianbrodbeck christianbrodbeck changed the title [MRG] Kit2fiff GUI: Test event settings [WIP] Kit2fiff GUI: Test event settings Sep 10, 2016
@christianbrodbeck
Copy link
Member Author

Sorry, don't merge, I'm in the process of repushing individual commits to see whether the VTK error starts happening consistently at a specific point

Showing progress bar during model test broke travis test
@christianbrodbeck
Copy link
Member Author

@Eric89GXL I've identified the problem, the Travis error occurred whenever the test of Kit2FiffModel opened a Progress Dialog. I've added a flag to the model to only show GUI elements when run from the actual GUI, not when run on its own.

@christianbrodbeck christianbrodbeck changed the title [WIP] Kit2fiff GUI: Test event settings [MRG] Kit2fiff GUI: Test event settings Sep 15, 2016
@larsoner
Copy link
Member

Great, thanks for taking the time to figure that out!

@larsoner larsoner merged commit b02f5bd into mne-tools:master Sep 15, 2016
@christianbrodbeck christianbrodbeck deleted the kit2fiff branch September 15, 2016 18:47
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.

6 participants