Skip to content

Wrapping steps #6

@jwblin

Description

@jwblin

Jonathan H. wrote: "In the PR I tried to give an example of what needs to be done using the calctd rountine. The steps were:

  1. Adjust the f2py signature for the subroutine to properly reflect the input, output and hidden parameters.
  2. Write a Python function which calls the wrapped function.
  3. Create a docstring consistent with the Numpy/SciPy docstring standard, much of this can be modified from documentation in the Fortran file.
    (https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt)
  4. Create a test function (or class) which can run with nose+unittest
  5. Add the documentation and rebuild.

This was an iterative/parallel process and some of the detail should be discussed before we do start performing this for all the routines in the library."

Thoughts from folks?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions