Skip to content

Commit

Permalink
fix(tools): get_sbml_model, try syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-gricourt committed Dec 7, 2023
1 parent 36977a8 commit 83caada
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tools/get_sbml_model/get_sbml_model.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@
<requirement type="package" version="0.1.1">taxonid</requirement>
</requirements>
<command detect_errors="exit_code"><![CDATA[
#import json
#import re
#if str($cond_src.from_src) == 'from_bigg'
echo 'Display' &&
echo '$cond_src.hostid.get_display_text()' &&
echo '$cond_src.hostid.input' &&
#set host=json.load(open($__tool_directory__ + '/host.json'))
#set hostname=$host[str($cond_src.hostid)]
#set hostname= re.sub(r'\s\(\w+\)', '', $cond_src.hostid.get_display_text())
curl -o - 'http://bigg.ucsd.edu/static/models/${cond_src.hostid}.xml.gz' | gunzip > '$model' &&
#else
#set hostname=$cond_src.hostname
Expand Down

0 comments on commit 83caada

Please sign in to comment.