Skip to content

Commit 1d3fda1

Browse files
authored
Doc: fix deprecated petablint invocation (#343)
Closes PEtab-dev/PEtab#592.
1 parent 6d70b20 commit 1d3fda1

File tree

1 file changed

+10
-69
lines changed

1 file changed

+10
-69
lines changed

doc/example/example_petablint.ipynb

Lines changed: 10 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -16,75 +16,26 @@
1616
},
1717
{
1818
"cell_type": "code",
19-
"execution_count": 1,
2019
"metadata": {},
21-
"outputs": [
22-
{
23-
"name": "stdout",
24-
"output_type": "stream",
25-
"text": [
26-
"usage: petablint [-h] [-v] [-s SBML_FILE_NAME] [-m MEASUREMENT_FILE_NAME]\r\n",
27-
" [-c CONDITION_FILE_NAME] [-p PARAMETER_FILE_NAME]\r\n",
28-
" [-y YAML_FILE_NAME | -n MODEL_NAME] [-d DIRECTORY]\r\n",
29-
"\r\n",
30-
"Check if a set of files adheres to the PEtab format.\r\n",
31-
"\r\n",
32-
"optional arguments:\r\n",
33-
" -h, --help show this help message and exit\r\n",
34-
" -v, --verbose More verbose output\r\n",
35-
" -s SBML_FILE_NAME, --sbml SBML_FILE_NAME\r\n",
36-
" SBML model filename\r\n",
37-
" -m MEASUREMENT_FILE_NAME, --measurements MEASUREMENT_FILE_NAME\r\n",
38-
" Measurement table\r\n",
39-
" -c CONDITION_FILE_NAME, --conditions CONDITION_FILE_NAME\r\n",
40-
" Conditions table\r\n",
41-
" -p PARAMETER_FILE_NAME, --parameters PARAMETER_FILE_NAME\r\n",
42-
" Parameter table\r\n",
43-
" -y YAML_FILE_NAME, --yaml YAML_FILE_NAME\r\n",
44-
" PEtab YAML problem filename\r\n",
45-
" -n MODEL_NAME, --model-name MODEL_NAME\r\n",
46-
" Model name where all files are in the working\r\n",
47-
" directory and follow PEtab naming convention.\r\n",
48-
" Specifying -[smcp] will override defaults\r\n",
49-
" -d DIRECTORY, --directory DIRECTORY\r\n"
50-
]
51-
}
52-
],
5320
"source": [
5421
"!petablint -h"
55-
]
22+
],
23+
"outputs": [],
24+
"execution_count": null
5625
},
5726
{
5827
"cell_type": "markdown",
5928
"metadata": {},
60-
"source": [
61-
"Let's look at an example: In the example_Fujita folder, we have a PEtab configuration file `Fujita.yaml` telling which files belong to the Fujita model:"
62-
]
29+
"source": "Let's look at an example: In the `example_Fujita/` directory, we have a PEtab problem configuration file `Fujita.yaml` telling which files belong to the \"Fujita\" problem:"
6330
},
6431
{
6532
"cell_type": "code",
66-
"execution_count": 2,
6733
"metadata": {},
68-
"outputs": [
69-
{
70-
"name": "stdout",
71-
"output_type": "stream",
72-
"text": [
73-
"parameter_file: Fujita_parameters.tsv\r\n",
74-
"petab_version: 0.0.0a17\r\n",
75-
"problems:\r\n",
76-
"- condition_files:\r\n",
77-
" - Fujita_experimentalCondition.tsv\r\n",
78-
" measurement_files:\r\n",
79-
" - Fujita_measurementData.tsv\r\n",
80-
" sbml_files:\r\n",
81-
" - Fujita_model.xml\r\n"
82-
]
83-
}
84-
],
8534
"source": [
8635
"!cat example_Fujita/Fujita.yaml"
87-
]
36+
],
37+
"outputs": [],
38+
"execution_count": null
8839
},
8940
{
9041
"cell_type": "markdown",
@@ -95,20 +46,10 @@
9546
},
9647
{
9748
"cell_type": "code",
98-
"execution_count": 3,
9949
"metadata": {},
100-
"outputs": [
101-
{
102-
"name": "stdout",
103-
"output_type": "stream",
104-
"text": [
105-
"\u001b[0m"
106-
]
107-
}
108-
],
109-
"source": [
110-
"!petablint -y example_Fujita/Fujita.yaml"
111-
]
50+
"source": "!petablint example_Fujita/Fujita.yaml",
51+
"outputs": [],
52+
"execution_count": null
11253
},
11354
{
11455
"cell_type": "markdown",

0 commit comments

Comments
 (0)