prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Change __version__ to match pep 440
  Specifically, when a branch is specified, it should use a plus sign instead of minus
  
  https://www.python.org/dev/peps/pep-0440/#local-version-identifiers
  
  https://github.com/wright-group/WrightTools/blob/490a4a3d6fb6f016e7033d661b553b72c2d86fcb/WrightTools/__version__.py#L33
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `WrightTools/__version__.py`
  Content:
  ```
  1 """Define WrightTools version."""
  2 
  3 
  4 # --- import --------------------------------------------------------------------------------------
  5 
  6 
  7 import os
  8 
  9 
  10 # ---- define -------------------------------------------------------------------------------------
  11 
  12 
  13 here = os.path.abspath(os.path.dirname(__file__))
  14 
  15 
  16 __all__ = ['__version__', '__branch__']
  17 
  18 
  19 # --- version -------------------------------------------------------------------------------------
  20 
  21 
  22 # read from VERSION file
  23 with open(os.path.join(os.path.dirname(here), 'VERSION')) as f:
  24     __version__ = f.read().strip()
  25 
  26 
  27 # add git branch, if appropriate
  28 p = os.path.join(os.path.dirname(here), '.git', 'HEAD')
  29 if os.path.isfile(p):
  30     with open(p) as f:
  31         __branch__ = f.readline().rstrip().split(r'/')[-1]
  32     if __branch__ != 'master':
  33         __version__ += '-' + __branch__
  34 else:
  35     __branch__ = None
  36
  ```
  --- 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/WrightTools/__version__.py b/WrightTools/__version__.py
  --- a/WrightTools/__version__.py
  +++ b/WrightTools/__version__.py
  @@ -30,6 +30,6 @@
       with open(p) as f:
           __branch__ = f.readline().rstrip().split(r'/')[-1]
       if __branch__ != 'master':
  -        __version__ += '-' + __branch__
  +        __version__ += '+' + __branch__
   else:
       __branch__ = None
  
verification_info: {"golden_diff": "diff --git a/WrightTools/__version__.py b/WrightTools/__version__.py\n--- a/WrightTools/__version__.py\n+++ b/WrightTools/__version__.py\n@@ -30,6 +30,6 @@\n     with open(p) as f:\n         __branch__ = f.readline().rstrip().split(r'/')[-1]\n     if __branch__ != 'master':\n-        __version__ += '-' + __branch__\n+        __version__ += '+' + __branch__\n else:\n     __branch__ = None\n", "issue": "Change __version__ to match pep 440\nSpecifically, when a branch is specified, it should use a plus sign instead of minus\r\n\r\nhttps://www.python.org/dev/peps/pep-0440/#local-version-identifiers\r\n\r\nhttps://github.com/wright-group/WrightTools/blob/490a4a3d6fb6f016e7033d661b553b72c2d86fcb/WrightTools/__version__.py#L33\n", "before_files": [{"content": "\"\"\"Define WrightTools version.\"\"\"\n\n\n# --- import --------------------------------------------------------------------------------------\n\n\nimport os\n\n\n# ---- define -------------------------------------------------------------------------------------\n\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n\n__all__ = ['__version__', '__branch__']\n\n\n# --- version -------------------------------------------------------------------------------------\n\n\n# read from VERSION file\nwith open(os.path.join(os.path.dirname(here), 'VERSION')) as f:\n    __version__ = f.read().strip()\n\n\n# add git branch, if appropriate\np = os.path.join(os.path.dirname(here), '.git', 'HEAD')\nif os.path.isfile(p):\n    with open(p) as f:\n        __branch__ = f.readline().rstrip().split(r'/')[-1]\n    if __branch__ != 'master':\n        __version__ += '-' + __branch__\nelse:\n    __branch__ = None\n", "path": "WrightTools/__version__.py"}], "after_files": [{"content": "\"\"\"Define WrightTools version.\"\"\"\n\n\n# --- import --------------------------------------------------------------------------------------\n\n\nimport os\n\n\n# ---- define -------------------------------------------------------------------------------------\n\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n\n__all__ = ['__version__', '__branch__']\n\n\n# --- version -------------------------------------------------------------------------------------\n\n\n# read from VERSION file\nwith open(os.path.join(os.path.dirname(here), 'VERSION')) as f:\n    __version__ = f.read().strip()\n\n\n# add git branch, if appropriate\np = os.path.join(os.path.dirname(here), '.git', 'HEAD')\nif os.path.isfile(p):\n    with open(p) as f:\n        __branch__ = f.readline().rstrip().split(r'/')[-1]\n    if __branch__ != 'master':\n        __version__ += '+' + __branch__\nelse:\n    __branch__ = None\n", "path": "WrightTools/__version__.py"}]}