prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  JOSS publication
  At the MNE-Sprint in Paris, @teonbrooks @jasmainak and I discussed about writing a short report on MNE-BIDS and publishing it in [JOSS](https://joss.theoj.org/about).
  
  JOSS articles generally provide a very high level description of the software and its relevance:
  
  > Your submission should probably be somewhere between 250-1000 words.
  
  It would allow us to properly point to MNE-BIDS in citations and get some scholarly recognition for our work.
  
  I suggest that we take `pybids` as an example and create a [`/paper`](https://github.com/bids-standard/pybids/tree/master/paper) directory in our repository where we prepare the submission.
  
  Publishing at JOSS would mean that mne-bids stays separate from mne-python instead of being integrated eventually. In a short discussion with @agramfort, we all approved of this idea, because it will allow us to stay with our lightweight and "independent" repository, while users can still benefit from mne-bids by using it as a simple "module" to MNE-Python.
  
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 #! /usr/bin/env python
  2 """Setup MNE-BIDS."""
  3 import os
  4 from setuptools import setup, find_packages
  5 
  6 # get the version
  7 version = None
  8 with open(os.path.join('mne_bids', '__init__.py'), 'r') as fid:
  9     for line in (line.strip() for line in fid):
  10         if line.startswith('__version__'):
  11             version = line.split('=')[1].strip().strip('\'')
  12             break
  13 if version is None:
  14     raise RuntimeError('Could not determine version')
  15 
  16 
  17 descr = ('An MNE project for organizing and formatting MEG and EEG data '
  18          'according to the BIDS specification.')
  19 
  20 DISTNAME = 'mne-bids'
  21 DESCRIPTION = descr
  22 MAINTAINER = 'Mainak Jas'
  23 MAINTAINER_EMAIL = 'mainakjas@gmail.com'
  24 URL = 'https://mne.tools/mne-bids/'
  25 LICENSE = 'BSD (3-clause)'
  26 DOWNLOAD_URL = 'https://github.com/mne-tools/mne-bids.git'
  27 VERSION = version
  28 
  29 if __name__ == "__main__":
  30     setup(name=DISTNAME,
  31           maintainer=MAINTAINER,
  32           maintainer_email=MAINTAINER_EMAIL,
  33           description=DESCRIPTION,
  34           license=LICENSE,
  35           url=URL,
  36           version=VERSION,
  37           download_url=DOWNLOAD_URL,
  38           long_description=open('README.rst').read(),
  39           long_description_content_type='text/x-rst',
  40           classifiers=[
  41               'Intended Audience :: Science/Research',
  42               'Intended Audience :: Developers',
  43               'License :: OSI Approved',
  44               'Programming Language :: Python',
  45               'Topic :: Software Development',
  46               'Topic :: Scientific/Engineering',
  47               'Operating System :: Microsoft :: Windows',
  48               'Operating System :: POSIX',
  49               'Operating System :: Unix',
  50               'Operating System :: MacOS',
  51           ],
  52           platforms='any',
  53           packages=find_packages(),
  54           scripts=['bin/mne_bids'],
  55           project_urls={
  56               'Documentation': 'https://mne.tools/mne-bids',
  57               'Bug Reports': 'https://github.com/mne-tools/mne-bids/issues',
  58               'Source': 'https://github.com/mne-tools/mne-bids',
  59           },
  60           )
  61
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -14,8 +14,8 @@
       raise RuntimeError('Could not determine version')
   
   
  -descr = ('An MNE project for organizing and formatting MEG and EEG data '
  -         'according to the BIDS specification.')
  +descr = ('MNE-BIDS: Organizing MEG, EEG, and iEEG data according to the BIDS '
  +         'specification and facilitating their analysis with MNE-Python')
   
   DISTNAME = 'mne-bids'
   DESCRIPTION = descr
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -14,8 +14,8 @@\n     raise RuntimeError('Could not determine version')\n \n \n-descr = ('An MNE project for organizing and formatting MEG and EEG data '\n-         'according to the BIDS specification.')\n+descr = ('MNE-BIDS: Organizing MEG, EEG, and iEEG data according to the BIDS '\n+         'specification and facilitating their analysis with MNE-Python')\n \n DISTNAME = 'mne-bids'\n DESCRIPTION = descr\n", "issue": "JOSS publication\nAt the MNE-Sprint in Paris, @teonbrooks @jasmainak and I discussed about writing a short report on MNE-BIDS and publishing it in [JOSS](https://joss.theoj.org/about).\r\n\r\nJOSS articles generally provide a very high level description of the software and its relevance:\r\n\r\n> Your submission should probably be somewhere between 250-1000 words.\r\n\r\nIt would allow us to properly point to MNE-BIDS in citations and get some scholarly recognition for our work.\r\n\r\nI suggest that we take `pybids` as an example and create a [`/paper`](https://github.com/bids-standard/pybids/tree/master/paper) directory in our repository where we prepare the submission.\r\n\r\nPublishing at JOSS would mean that mne-bids stays separate from mne-python instead of being integrated eventually. In a short discussion with @agramfort, we all approved of this idea, because it will allow us to stay with our lightweight and \"independent\" repository, while users can still benefit from mne-bids by using it as a simple \"module\" to MNE-Python.\r\n\r\n\n", "before_files": [{"content": "#! /usr/bin/env python\n\"\"\"Setup MNE-BIDS.\"\"\"\nimport os\nfrom setuptools import setup, find_packages\n\n# get the version\nversion = None\nwith open(os.path.join('mne_bids', '__init__.py'), 'r') as fid:\n    for line in (line.strip() for line in fid):\n        if line.startswith('__version__'):\n            version = line.split('=')[1].strip().strip('\\'')\n            break\nif version is None:\n    raise RuntimeError('Could not determine version')\n\n\ndescr = ('An MNE project for organizing and formatting MEG and EEG data '\n         'according to the BIDS specification.')\n\nDISTNAME = 'mne-bids'\nDESCRIPTION = descr\nMAINTAINER = 'Mainak Jas'\nMAINTAINER_EMAIL = 'mainakjas@gmail.com'\nURL = 'https://mne.tools/mne-bids/'\nLICENSE = 'BSD (3-clause)'\nDOWNLOAD_URL = 'https://github.com/mne-tools/mne-bids.git'\nVERSION = version\n\nif __name__ == \"__main__\":\n    setup(name=DISTNAME,\n          maintainer=MAINTAINER,\n          maintainer_email=MAINTAINER_EMAIL,\n          description=DESCRIPTION,\n          license=LICENSE,\n          url=URL,\n          version=VERSION,\n          download_url=DOWNLOAD_URL,\n          long_description=open('README.rst').read(),\n          long_description_content_type='text/x-rst',\n          classifiers=[\n              'Intended Audience :: Science/Research',\n              'Intended Audience :: Developers',\n              'License :: OSI Approved',\n              'Programming Language :: Python',\n              'Topic :: Software Development',\n              'Topic :: Scientific/Engineering',\n              'Operating System :: Microsoft :: Windows',\n              'Operating System :: POSIX',\n              'Operating System :: Unix',\n              'Operating System :: MacOS',\n          ],\n          platforms='any',\n          packages=find_packages(),\n          scripts=['bin/mne_bids'],\n          project_urls={\n              'Documentation': 'https://mne.tools/mne-bids',\n              'Bug Reports': 'https://github.com/mne-tools/mne-bids/issues',\n              'Source': 'https://github.com/mne-tools/mne-bids',\n          },\n          )\n", "path": "setup.py"}], "after_files": [{"content": "#! /usr/bin/env python\n\"\"\"Setup MNE-BIDS.\"\"\"\nimport os\nfrom setuptools import setup, find_packages\n\n# get the version\nversion = None\nwith open(os.path.join('mne_bids', '__init__.py'), 'r') as fid:\n    for line in (line.strip() for line in fid):\n        if line.startswith('__version__'):\n            version = line.split('=')[1].strip().strip('\\'')\n            break\nif version is None:\n    raise RuntimeError('Could not determine version')\n\n\ndescr = ('MNE-BIDS: Organizing MEG, EEG, and iEEG data according to the BIDS '\n         'specification and facilitating their analysis with MNE-Python')\n\nDISTNAME = 'mne-bids'\nDESCRIPTION = descr\nMAINTAINER = 'Mainak Jas'\nMAINTAINER_EMAIL = 'mainakjas@gmail.com'\nURL = 'https://mne.tools/mne-bids/'\nLICENSE = 'BSD (3-clause)'\nDOWNLOAD_URL = 'https://github.com/mne-tools/mne-bids.git'\nVERSION = version\n\nif __name__ == \"__main__\":\n    setup(name=DISTNAME,\n          maintainer=MAINTAINER,\n          maintainer_email=MAINTAINER_EMAIL,\n          description=DESCRIPTION,\n          license=LICENSE,\n          url=URL,\n          version=VERSION,\n          download_url=DOWNLOAD_URL,\n          long_description=open('README.rst').read(),\n          long_description_content_type='text/x-rst',\n          classifiers=[\n              'Intended Audience :: Science/Research',\n              'Intended Audience :: Developers',\n              'License :: OSI Approved',\n              'Programming Language :: Python',\n              'Topic :: Software Development',\n              'Topic :: Scientific/Engineering',\n              'Operating System :: Microsoft :: Windows',\n              'Operating System :: POSIX',\n              'Operating System :: Unix',\n              'Operating System :: MacOS',\n          ],\n          platforms='any',\n          packages=find_packages(),\n          scripts=['bin/mne_bids'],\n          project_urls={\n              'Documentation': 'https://mne.tools/mne-bids',\n              'Bug Reports': 'https://github.com/mne-tools/mne-bids/issues',\n              'Source': 'https://github.com/mne-tools/mne-bids',\n          },\n          )\n", "path": "setup.py"}]}