
import os
import sys

import mne


if __name__ == '__main__':
    os.environ['ETS_TOOLKIT'] = 'qt4'
    mne.gui.coregistration()
    sys.exit(0)


import os
import sys

import mne


if __name__ == '__main__':
    from mne.commands.utils import get_optparser

    parser = get_optparser(__file__)
    options, args = parser.parse_args()

    os.environ['ETS_TOOLKIT'] = 'qt4'
    mne.gui.coregistration()
    sys.exit(0)

FIX coreg bin: add parser
FIX coreg bin: add parser
  
  import os
  import sys
  
  import mne
  
  
  if __name__ == '__main__':
+     from mne.commands.utils import get_optparser
+ 
+     parser = get_optparser(__file__)
+     options, args = parser.parse_args()
+ 
      os.environ['ETS_TOOLKIT'] = 'qt4'
      mne.gui.coregistration()
      sys.exit(0)
  
FIX coreg bin: add parser
## Code Before:

import os
import sys

import mne


if __name__ == '__main__':
    os.environ['ETS_TOOLKIT'] = 'qt4'
    mne.gui.coregistration()
    sys.exit(0)

## Instruction:
FIX coreg bin: add parser
## Code After:

import os
import sys

import mne


if __name__ == '__main__':
    from mne.commands.utils import get_optparser

    parser = get_optparser(__file__)
    options, args = parser.parse_args()

    os.environ['ETS_TOOLKIT'] = 'qt4'
    mne.gui.coregistration()
    sys.exit(0)
