1 | ### parsing pdb
|
---|
2 |
|
---|
3 | AT_SETUP([Parser - loading empty pdb file])
|
---|
4 | AT_KEYWORDS([parser,pdb,emptyfile])
|
---|
5 | AT_CHECK([echo "" >test.pdb], 0, [ignore], [ignore])
|
---|
6 | AT_CHECK([../../molecuilder -i test.pdb -o pdb], 0, [ignore], [ignore])
|
---|
7 | AT_CLEANUP
|
---|
8 |
|
---|
9 | AT_SETUP([Parser - loading pdb file])
|
---|
10 | AT_KEYWORDS([parser,pdb])
|
---|
11 | AT_CHECK([../../molecuilder -i test.pdb -o pdb -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/pre/test.pdb], 0, [ignore], [ignore])
|
---|
12 | AT_CHECK([file=test.pdb; diff -I '.*created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/post/$file], 0, [ignore], [ignore])
|
---|
13 | AT_CLEANUP
|
---|
14 |
|
---|
15 | AT_SETUP([Parser - loading pdb file with CONECTs])
|
---|
16 | AT_KEYWORDS([parser,pdb])
|
---|
17 | AT_CHECK([../../molecuilder -i test_conect.pdb -o pdb -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/pre/test_conect.pdb], 0, [ignore], [ignore])
|
---|
18 | AT_CHECK([file=test_conect.pdb; diff -I '.*created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/post/$file], 0, [ignore], [ignore])
|
---|
19 | AT_CLEANUP
|
---|
20 |
|
---|
21 | AT_SETUP([Parser - loading pdb file with multiple time steps])
|
---|
22 | AT_KEYWORDS([parser,pdb])
|
---|
23 | AT_CHECK([../../molecuilder -v 4 -i testmulti.pdb -o pdb -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/pre/testmulti.pdb], 0, [ignore], [ignore])
|
---|
24 | AT_CHECK([file=testmulti.pdb; diff -I '.*created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/post/$file], 0, [ignore], [ignore])
|
---|
25 | AT_CHECK([../../molecuilder -v 4 -i testmulti2.pdb -o pdb -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/pre/testmulti2.pdb], 0, [ignore], [ignore])
|
---|
26 | AT_CHECK([file=testmulti2.pdb; diff -I '.*created by molecuilder.*' $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/post/$file], 0, [ignore], [ignore])
|
---|
27 | AT_CLEANUP
|
---|
28 |
|
---|
29 | AT_SETUP([Parser - saving pdb file])
|
---|
30 | AT_KEYWORDS([parser,pdb])
|
---|
31 | AT_CHECK([../../molecuilder -i test.pdb -o pdb -l ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/pre/test.pdb --output store.pdb], 0, [ignore], [ignore])
|
---|
32 | AT_CHECK([diff -I '.*created by molecuilder.*' store.pdb ${abs_top_srcdir}/${AUTOTEST_PATH}/Parser/Pdb/post/test.pdb], 0, [ignore], [ignore])
|
---|
33 | AT_CLEANUP
|
---|
34 |
|
---|