Skip to content

Commit

Permalink
Option lineage (#197)
Browse files Browse the repository at this point in the history
* added lineage option

* updated roocs demo

* renamed rook demo
  • Loading branch information
cehbrecht authored Apr 1, 2021
1 parent 8abe02f commit 34c330c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 664 deletions.
9 changes: 8 additions & 1 deletion birdy/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def __init__(
caps_xml=None,
desc_xml=None,
language=None,
lineage=False,
):
"""
Args:
Expand All @@ -72,10 +73,12 @@ def __init__(
version (str): WPS version to use.
language (str): passed to :class:`owslib.wps.WebProcessingService`
ex: 'fr-CA', 'en_US'.
lineage: (bool): If True, the Execute operation includes lineage information.
"""
self._converters = converters
self._interactive = progress
self._mode = ASYNC if progress else SYNC
self._lineage = lineage
self._notebook = notebook.is_notebook()
self._inputs = {}
self._outputs = {}
Expand Down Expand Up @@ -350,7 +353,11 @@ def _execute(self, pid, **kwargs):

try:
wps_response = self._wps.execute(
pid, inputs=wps_inputs, output=wps_outputs, mode=mode
pid,
inputs=wps_inputs,
output=wps_outputs,
mode=mode,
lineage=self._lineage,
)

if self._interactive and self._processes[pid].statusSupported:
Expand Down
118 changes: 0 additions & 118 deletions notebooks/examples/c4cds.ipynb

This file was deleted.

Loading

0 comments on commit 34c330c

Please sign in to comment.