prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  interfaces.camino.convert.FSL2Scheme does not show up in documentation
  
  Diagram on front page of docs contains a typo
  "Idiosynchratic" should be "Idiosyncratic"
  
  
  </issue>
  <code>
  [start of tools/build_interface_docs.py]
  1 #!/usr/bin/env python
  2 # emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
  3 # vi: set ft=python sts=4 ts=4 sw=4 et:
  4 """Script to auto-generate interface docs.
  5 """
  6 from __future__ import print_function, unicode_literals
  7 # stdlib imports
  8 import os
  9 import sys
  10 
  11 # *****************************************************************************
  12 if __name__ == '__main__':
  13     nipypepath = os.path.abspath('..')
  14     sys.path.insert(1, nipypepath)
  15     # local imports
  16     from interfacedocgen import InterfaceHelpWriter
  17     package = 'nipype'
  18     outdir = os.path.join('interfaces', 'generated')
  19     docwriter = InterfaceHelpWriter(package)
  20     # Packages that should not be included in generated API docs.
  21     docwriter.package_skip_patterns += ['\.external$',
  22                                         '\.fixes$',
  23                                         '\.utils$',
  24                                         '\.pipeline',
  25                                         '\.testing',
  26                                         '\.caching',
  27                                         '\.scripts',
  28                                         ]
  29     # Modules that should not be included in generated API docs.
  30     docwriter.module_skip_patterns += ['\.version$',
  31                                        '\.interfaces\.base$',
  32                                        '\.interfaces\.matlab$',
  33                                        '\.interfaces\.rest$',
  34                                        '\.interfaces\.pymvpa$',
  35                                        '\.interfaces\.slicer\.generate_classes$',
  36                                        '\.interfaces\.spm\.base$',
  37                                        '\.interfaces\.traits',
  38                                        '\.pipeline\.alloy$',
  39                                        '\.pipeline\.s3_node_wrapper$',
  40                                        '\.testing',
  41                                        '\.scripts',
  42                                        ]
  43     docwriter.class_skip_patterns += ['AFNICommand',
  44                                       'ANTS',
  45                                       'FSL',
  46                                       'FS',
  47                                       'Info',
  48                                       '^SPM',
  49                                       'Tester',
  50                                       'Spec$',
  51                                       'Numpy'
  52                                       # NipypeTester raises an
  53                                       # exception when instantiated in
  54                                       # InterfaceHelpWriter.generate_api_doc
  55                                       'NipypeTester',
  56                                       ]
  57     docwriter.write_api_docs(outdir)
  58     docwriter.write_index(outdir, 'gen', relative_to='interfaces')
  59     print('%d files written' % len(docwriter.written_modules))
  60
  [end of tools/build_interface_docs.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/tools/build_interface_docs.py b/tools/build_interface_docs.py
  --- a/tools/build_interface_docs.py
  +++ b/tools/build_interface_docs.py
  @@ -42,7 +42,7 @@
                                          ]
       docwriter.class_skip_patterns += ['AFNICommand',
                                         'ANTS',
  -                                      'FSL',
  +                                      'FSLCommand',
                                         'FS',
                                         'Info',
                                         '^SPM',
  
verification_info: {"golden_diff": "diff --git a/tools/build_interface_docs.py b/tools/build_interface_docs.py\n--- a/tools/build_interface_docs.py\n+++ b/tools/build_interface_docs.py\n@@ -42,7 +42,7 @@\n                                        ]\n     docwriter.class_skip_patterns += ['AFNICommand',\n                                       'ANTS',\n-                                      'FSL',\n+                                      'FSLCommand',\n                                       'FS',\n                                       'Info',\n                                       '^SPM',\n", "issue": "interfaces.camino.convert.FSL2Scheme does not show up in documentation\n\nDiagram on front page of docs contains a typo\n\"Idiosynchratic\" should be \"Idiosyncratic\"\n\n", "before_files": [{"content": "#!/usr/bin/env python\n# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-\n# vi: set ft=python sts=4 ts=4 sw=4 et:\n\"\"\"Script to auto-generate interface docs.\n\"\"\"\nfrom __future__ import print_function, unicode_literals\n# stdlib imports\nimport os\nimport sys\n\n# *****************************************************************************\nif __name__ == '__main__':\n    nipypepath = os.path.abspath('..')\n    sys.path.insert(1, nipypepath)\n    # local imports\n    from interfacedocgen import InterfaceHelpWriter\n    package = 'nipype'\n    outdir = os.path.join('interfaces', 'generated')\n    docwriter = InterfaceHelpWriter(package)\n    # Packages that should not be included in generated API docs.\n    docwriter.package_skip_patterns += ['\\.external$',\n                                        '\\.fixes$',\n                                        '\\.utils$',\n                                        '\\.pipeline',\n                                        '\\.testing',\n                                        '\\.caching',\n                                        '\\.scripts',\n                                        ]\n    # Modules that should not be included in generated API docs.\n    docwriter.module_skip_patterns += ['\\.version$',\n                                       '\\.interfaces\\.base$',\n                                       '\\.interfaces\\.matlab$',\n                                       '\\.interfaces\\.rest$',\n                                       '\\.interfaces\\.pymvpa$',\n                                       '\\.interfaces\\.slicer\\.generate_classes$',\n                                       '\\.interfaces\\.spm\\.base$',\n                                       '\\.interfaces\\.traits',\n                                       '\\.pipeline\\.alloy$',\n                                       '\\.pipeline\\.s3_node_wrapper$',\n                                       '\\.testing',\n                                       '\\.scripts',\n                                       ]\n    docwriter.class_skip_patterns += ['AFNICommand',\n                                      'ANTS',\n                                      'FSL',\n                                      'FS',\n                                      'Info',\n                                      '^SPM',\n                                      'Tester',\n                                      'Spec$',\n                                      'Numpy'\n                                      # NipypeTester raises an\n                                      # exception when instantiated in\n                                      # InterfaceHelpWriter.generate_api_doc\n                                      'NipypeTester',\n                                      ]\n    docwriter.write_api_docs(outdir)\n    docwriter.write_index(outdir, 'gen', relative_to='interfaces')\n    print('%d files written' % len(docwriter.written_modules))\n", "path": "tools/build_interface_docs.py"}]}