Skip to content

Commit

Permalink
heta-compiler 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Sep 25, 2024
1 parent 56d30ac commit 41dba00
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/convert-to-heta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ jobs:
with:
persist-credentials: false

- name: Install Node.js 18
uses: actions/setup-node@v3
- name: Install Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Installations of heta-compiler from repository
- name: Installations of heta-compiler
run: |
npm ci
npm i hetalang/heta-compiler
# npm i hetalang/heta-compiler
npm i heta-compiler
npx heta -v

- name: Download semantic cases of version 3.4.0
Expand Down
2 changes: 0 additions & 2 deletions bash/l2v5-index.heta
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@

#include { source: ../model-sbml-l2v5.xml, type: sbml };

#export { format: HetaCode };
#export { format: JSON };
3 changes: 0 additions & 3 deletions bash/l3v2-index.heta
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#include { source: ../model-sbml-l3v2.xml, type: sbml };

#export { format: HetaCode };
#export { format: JSON };
4 changes: 2 additions & 2 deletions bash/make-summary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ for dir in $dirs; do
echo "$dir has no SBML L2V5 file"
l2v5RetCode=9
else
npx heta build --skip-updates --dist-dir . --log-mode error $base_dir/cases/$dir/l2v5 > /dev/null 2>&1
npx heta build --export HetaCode,JSON --skip-updates --dist-dir . --log-mode error $base_dir/cases/$dir/l2v5 > /dev/null 2>&1
l2v5RetCode=$(echo $?)
fi
cp cases/semantic/$dir/$dir-sbml-l3v2.xml $base_dir/cases/$dir/model-sbml-l3v2.xml > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "$dir has no SBML L3V2 file"
l3v2RetCode=9
else
npx heta build --skip-updates --dist-dir . --log-mode error $base_dir/cases/$dir/l3v2 > /dev/null 2>&1
npx heta build --export HetaCode,JSON --skip-updates --dist-dir . --log-mode error $base_dir/cases/$dir/l3v2 > /dev/null 2>&1
l3v2RetCode=$(echo $?)
fi

Expand Down

0 comments on commit 41dba00

Please sign in to comment.