Skip to content

Commit

Permalink
Updated notebook according to the last changes in pipelines.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Podvyaznikov committed Jan 10, 2018
1 parent b822cf8 commit ccd9d54
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tutorials/Code_from_article.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
"source": [
"from cardio.pipelines import hmm_predict_pipeline\n",
"\n",
"res = (eds >> hmm_predict_pipeline(\"model_dump.dill\", annot_dst=\"hmm_annotation\")).run()"
"batch = (eds >> hmm_predict_pipeline(\"model_dump.dill\", annot=\"hmm_annotation\")).next_batch()"
]
},
{
Expand All @@ -266,8 +266,7 @@
}
],
"source": [
"batch = res.get_variable(\"batch\")[0]\n",
"batch.show_ecg('A00001', start=10, end=15, annot_src=\"hmm_annotation\")"
"batch.show_ecg('A00001', start=10, end=15, annot=\"hmm_annotation\")"
]
},
{
Expand Down Expand Up @@ -376,7 +375,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.2"
"version": "3.6.3"
}
},
"nbformat": 4,
Expand Down

0 comments on commit ccd9d54

Please sign in to comment.