Skip to content

Commit 5ed5876

Browse files
committed
updated to the latest mmif-python, updated documentation formatting
1 parent 9c5e1bd commit 5ed5876

10 files changed

Lines changed: 30 additions & 21 deletions

File tree

clams/app/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
False
3232
]
3333

34+
3435
class ClamsApp(ABC):
3536
"""
3637
An abstract class to define API's for ClamsApps. A CLAMS app should inherit

clams/mmif_utils/rewind.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
"""
2+
This module provides a CLI to rewind a MMIF from a CLAMS pipeline.
3+
"""
14
import argparse
25
import sys
36
import textwrap
4-
from pathlib import Path as P
57

68
import mmif
79

clams/mmif_utils/source.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
"""
2+
This module provides a class for creating a "source" MMIF JSON object.
3+
"""
14
import argparse
25
import itertools
36
import json

documentation/autodoc/clams.app.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
clams.app package
2-
===================
2+
==================
33

4-
Module contents
5-
---------------
4+
Core package providing classes for representing CLAMS apps.
65

76
.. automodule:: clams.app
87
:members:

documentation/autodoc/clams.appmetadata.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
clams.appmetadata package
22
=========================
33

4-
Module contents
5-
---------------
4+
Package providing classes for representing metadata of CLAMS apps.
65

76
.. autoclass:: clams.appmetadata.AppMetadata
87
:members:
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
clams.mmif_utils package
2+
========================
3+
4+
Package providing utility functions for working with MMIF data.
5+
6+
``rewind`` module
7+
-----------------
8+
9+
.. automodule:: clams.mmif_utils.rewind
10+
:members:
11+
12+
``source`` module
13+
-----------------
14+
15+
.. automodule:: clams.mmif_utils.source
16+
:members:

documentation/autodoc/clams.restify.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
clams.restify package
22
=====================
33

4-
Module contents
5-
---------------
4+
Package providing wrapper class for running a CLAMS app as a HTTP app.
65

76
.. automodule:: clams.restify
87
:members:

documentation/autodoc/clams.source.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

documentation/modules.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ API documentation
55
.. toctree::
66
:maxdepth: 4
77

8-
autodoc/clams.restify
98
autodoc/clams.app
10-
autodoc/clams.source
119
autodoc/clams.appmetadata
10+
autodoc/clams.restify
11+
autodoc/clams.mmif_utils

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mmif-python==1.0.18
1+
mmif-python==1.0.19
22

33
Flask>=2
44
Flask-RESTful>=0.3.9

0 commit comments

Comments
 (0)