Skip to content

Commit

Permalink
fix(tools): get_sbml_model, syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-gricourt committed Dec 2, 2023
1 parent deb6be6 commit 31cde20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tools/get_sbml_model/get_sbml_model.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<command detect_errors="exit_code"><![CDATA[
#import json
#if str($cond_src.from_src) == 'from_bigg'
#set $hostname=json.load(open($__tool_directory__ + '/host.json'))[$cond_src.hostid]
#set hostname=json.load(open($__tool_directory__ + '/host.json'))[$cond_src.hostid]
curl -o - 'http://bigg.ucsd.edu/static/models/${cond_src.hostid}.xml.gz' | gunzip > '$model' &&
#else
#set $hostname=$cond_src.hostname
#set $model=$cond_src.input_file
#set hostname=$cond_src.hostname
#set model=$cond_src.input_file
#end if
python '$__tool_directory__/'get_infos.py
'$model'
Expand Down
4 changes: 2 additions & 2 deletions tools/get_sbml_model/host.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"iCN718i", "Acinetobacter baumannii AYE",
"iYO844", "Bacillus subtilis subsp. subtilis str. 168",
"iCN718i": "Acinetobacter baumannii AYE",
"iYO844": "Bacillus subtilis subsp. subtilis str. 168",
"iRC1080": "Chlamydomonas reinhardtii",
"iCN900": "Clostridioides difficile 630",
"iHN637": "Clostridium ljungdahlii DSM 13528",
Expand Down

0 comments on commit 31cde20

Please sign in to comment.