Skip to content

Commit 2cd9845

Browse files
committed
release 0.1.1
1 parent 9573188 commit 2cd9845

File tree

3 files changed

+44
-34
lines changed

3 files changed

+44
-34
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,14 @@ jobs:
6363
python -m twine upload --skip-existing --non-interactive dist/*
6464
- name: Test install
6565
run: |
66-
pip install findCPcore
66+
pip install findCPcore
67+
- name: GitHub release
68+
uses: actions/create-release@v1
69+
env:
70+
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
71+
with:
72+
tag_name: ${{ github.ref }}
73+
release_name: ${{ github.ref }}
74+
body_path: ""
75+
draft: false
76+
prerelease: false

docs/source/CORE.ipynb

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,7 @@
12501250
"source": [
12511251
"## 2. Facade & FacadeUtils\n",
12521252
"\n",
1253-
"The module ```FacadeUtils``` from ```findCPcore``` provides specific methods for the generation of spreadsheets regarding the computation of chokepoint reactions taking into account Flux Variability Analysis and Dead End Metabolites."
1253+
"Modules ```FacadeUtils``` and ```Facade``` from ```findCPcore``` provides specific methods for the generation of spreadsheets regarding the computation of critical reactions taking into account Flux Variability Analysis and Dead End Metabolites."
12541254
]
12551255
},
12561256
{
@@ -1264,7 +1264,7 @@
12641264
},
12651265
{
12661266
"cell_type": "code",
1267-
"execution_count": 33,
1267+
"execution_count": 3,
12681268
"metadata": {},
12691269
"outputs": [],
12701270
"source": [
@@ -1314,7 +1314,7 @@
13141314
},
13151315
{
13161316
"cell_type": "code",
1317-
"execution_count": 34,
1317+
"execution_count": 4,
13181318
"metadata": {},
13191319
"outputs": [
13201320
{
@@ -1339,17 +1339,23 @@
13391339
"LOG:Searching essential genes...\n",
13401340
"LOG:Searching essential genes reactions...\n",
13411341
"LOG:Searching essential reactions...\n",
1342-
"LOG:Removing"
1342+
"LOG:Removing Dead End Metabolites (D.E.M.)...\n",
1343+
"LOG:Searching essential reactions...\n",
1344+
"LOG:Searching new chokepoint reactions...\n",
1345+
"LOG:Searching essential genes...\n",
1346+
"LOG:Searching essential genes reactions...\n",
1347+
"LOG:Generating spreadsheet...\n"
13431348
]
13441349
},
13451350
{
13461351
"data": {
1347-
"text/html": [
1348-
"* * *"
1352+
"text/plain": [
1353+
"(True, 'output.xls')"
13491354
]
13501355
},
1356+
"execution_count": 4,
13511357
"metadata": {},
1352-
"output_type": "display_data"
1358+
"output_type": "execute_result"
13531359
}
13541360
],
13551361
"source": [
@@ -1416,39 +1422,26 @@
14161422
},
14171423
{
14181424
"cell_type": "code",
1419-
"execution_count": 35,
1425+
"execution_count": 6,
14201426
"metadata": {},
14211427
"outputs": [
14221428
{
1423-
"name": "stdout",
1424-
"output_type": "stream",
1425-
"text": [
1426-
"Reading model...\n",
1427-
"Running Flux Variability Analysis with fraction: 0.0\n",
1428-
"Running Flux Variability Analysis with fraction: 0.1\n",
1429-
"Running Flux Variability Analysis with fraction: 0.2\n",
1430-
"Running Flux Variability Analysis with fraction: 0.3\n",
1431-
"Running Flux Variability Analysis with fraction: 0.4\n",
1432-
"Running Flux Variability Analysis with fraction: 0.5\n",
1433-
"Running Flux Variability Analysis with fraction: 0.6\n",
1434-
"Running Flux Variability Analysis with fraction: 0.7\n",
1435-
"Running Flux Variability Analysis with fraction: 0.8\n",
1436-
"Running Flux Variability Analysis with fraction: 0.9\n",
1437-
"Running Flux Variability Analysis with fraction: 1.0\n"
1429+
"ename": "TypeError",
1430+
"evalue": "'module' object is not callable",
1431+
"output_type": "error",
1432+
"traceback": [
1433+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
1434+
"\u001b[0;31mTypeError\u001b[0m Traceback (most recent call last)",
1435+
"\u001b[0;32m<ipython-input-6-4bebcdd4e316>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 6\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mmessage\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 7\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 8\u001b[0;31m \u001b[0mconfig\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mGrowthDependentCPConfig\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 9\u001b[0m \u001b[0mconfig\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mprint_f\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mcallback_print\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 10\u001b[0m \u001b[0mconfig\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmodel_path\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m\"aureus.xml\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
1436+
"\u001b[0;31mTypeError\u001b[0m: 'module' object is not callable"
14381437
]
1439-
},
1440-
{
1441-
"data": {
1442-
"text/plain": [
1443-
"(True, 'output.xls')"
1444-
]
1445-
},
1446-
"execution_count": 35,
1447-
"metadata": {},
1448-
"output_type": "execute_result"
14491438
}
14501439
],
14511440
"source": [
1441+
"# import config class\n",
1442+
"from findCPcore.utils import GrowthDependentCPConfig\n",
1443+
"\n",
1444+
"\n",
14521445
"def callback_print(message, arg1, arg2):\n",
14531446
" print(message)\n",
14541447
"\n",
@@ -1461,6 +1454,13 @@
14611454
"facade = Facade()\n",
14621455
"facade.generate_growth_dependent_report(config)"
14631456
]
1457+
},
1458+
{
1459+
"cell_type": "code",
1460+
"execution_count": null,
1461+
"metadata": {},
1462+
"outputs": [],
1463+
"source": []
14641464
}
14651465
],
14661466
"metadata": {

docs/source/output.xls

1.44 MB
Binary file not shown.

0 commit comments

Comments
 (0)