Skip to content

Commit a3b55a0

Browse files
Merge pull request #5 from giannisdoukas/dev
Dev
2 parents 3c42cc9 + ec47373 commit a3b55a0

24 files changed

+201
-176
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,4 +244,5 @@ cython_debug/
244244
/tests/jn/output/
245245
tmp.py
246246
/html/
247-
cwlbuild
247+
cwlbuild
248+
/tests/repo-like/result.yaml

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ install:
1313
- pip install -r test-requirements.txt
1414
- python setup.py install
1515
- pip freeze
16+
# there is a issue in repo2docker in travis. fix file permission
17+
- chmod +x $(python -c "import repo2docker; print(repo2docker.__file__[:-11])")/buildpacks/repo2docker-entrypoint
1618
script:
1719
- pycodestyle --max-line-length=119 $(find ipython2cwl -name '*.py')
1820
- coverage run --source ipython2cwl -m unittest discover tests

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
[![Build Status](https://travis-ci.com/giannisdoukas/ipython2cwl.svg)](https://travis-ci.com/giannisdoukas/ipython2cwl)
44
[![Coverage Status](https://coveralls.io/repos/github/giannisdoukas/ipython2cwl/badge.svg?branch=dev)](https://coveralls.io/github/giannisdoukas/ipython2cwl?branch=dev)
55
[![Documentation Status](https://readthedocs.org/projects/ipython2cwl/badge/?version=latest)](https://ipython2cwl.readthedocs.io/en/latest/?badge=latest)
6+
[![Downloads](https://pepy.tech/badge/ipython2cwl/month)](https://pepy.tech/project/ipython2cwl/month)
67

78
IPython2CWL is a tool for converting [IPython](https://ipython.org/) Jupyter Notebooks to
8-
[CWL](https://www.commonwl.org/) Command Line Tools by simply providing typing annotation.
9+
[CWL (Common Workflow Language)](https://www.commonwl.org/) Command Line Tools by simply providing typing annotation.
910

1011

1112
```python
@@ -26,8 +27,15 @@ used by [mybinder](https://mybinder.org/). Now, by writing Jupyter Notebook and
2627
configuration, the community can not only execute the notebooks remotely but also to use them as steps in scientific
2728
workflows.
2829

30+
31+
## Install
32+
33+
```
34+
pip install ipython2cwl
35+
```
36+
2937
### Example
3038

31-
```shell script
39+
```
3240
jupyter repo2cwl https://github.com/giannisdoukas/cwl-annotated-jupyter-notebook.git -o cwlbuild
3341
```

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ used by `mybinder <https://mybinder.org/>`_. Now, by writing Jupyter Notebook an
3333
configuration, the community can not only execute the notebooks remotely but also to use them as steps in scientific
3434
workflows.
3535

36-
* Install ipython2cwl
36+
* Install ipython2cwl: :code:`pip install python2cwl`
3737
* Ensure that you have docker running
3838
* Create a directory to store the generated cwl files, for example cwlbuild
3939
* Execute :code:`jupyter repo2cwl https://github.com/giannisdoukas/cwl-annotated-jupyter-notebook.git -o cwlbuild`

examples/compiled_tool/Dockerfile

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

examples/compiled_tool/new_data.png

-39.2 KB
Binary file not shown.

examples/compiled_tool/notebookTool

Lines changed: 0 additions & 23 deletions
This file was deleted.
-51.4 KB
Binary file not shown.

examples/compiled_tool/requirements.txt

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

examples/compiled_tool/setup.py

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

0 commit comments

Comments
 (0)