Skip to content

Commit b39eef8

Browse files
committed
Implemented a new field test for fastStructure.
1 parent 425088e commit b39eef8

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

tests/fastStructure_field_test.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash
2+
3+
# Copyright 2016 Francisco Pina Martins <[email protected]>
4+
# This file is part of structure_threader.
5+
# structure_threader is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
9+
10+
# structure_threader is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU General Public License for more details.
14+
15+
# You should have received a copy of the GNU General Public License
16+
# along with structure_threader. If not, see <http://www.gnu.org/licenses/>.
17+
18+
set -e
19+
20+
LightGreen='\033[1;32m'
21+
NoColor='\033[0m'
22+
echo "Runnig fastStructure 'field test'. This will simulate a full wrapped run on small test data."
23+
24+
git_dir=`pwd`
25+
str_bin=`which fastStructure`
26+
27+
tar xvfJ ${git_dir}/PTS/data/BigTestData.str.tar.xz -C ${git_dir}/PTS/data/
28+
~/virtualenv/python3.5/bin/structure_threader -i ${git_dir}/PTS/data/BigTestData.str -o ~/results_fs -fs ${str_bin} -K 4 -t 4
29+
30+
echo -e "${LightGreen}fastStructure 'Field test' ran successfully. Yay!${NoColor}"

0 commit comments

Comments
 (0)