Coverage for src/fsl_pipe/__init__.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.8.0, created at 2025-05-14 13:47 +0100

1""" 

2Declarative pipeline definition based on filetrees. 

3 

4Typical usage: 

5 

6.. code-block:: python 

7 

8 from fsl_pipe import pipe, In, Out, Ref, Var 

9 

10 @pipe 

11 def job(input_file: In, output_file: Out): 

12 # code to convert `input_file` to `output_file` 

13 

14 pipe.cli() # runs command line interface 

15""" 

16from .pipeline import Pipeline, pipe, In, Out, Ref, Var 

17from .job import update_closure 

18import importlib.metadata 

19 

20__version__ = importlib.metadata.version("fsl_pipe")