Debian Codegraph @

tests/ciftest13

raw
1 # This test file checks semicolon delimited strings and embedded quotes
2 # All of these are valid CIF constructs. We have put some inside a save
3 # frame, which is syntactically allowed in CIF 1.1 and should be ignored
4 #
5 #
6 data_testblock
7 _dataname
8 ;Hi
9 _dataname2 ;Hi;
10 _dataname3
11 ;
12 a line with an extra carriage return
13
14 ;
15 save_mysaveframe
16 _dataname4 'embed'd quote'
17 _test6 ''this had a quote at the front '
18 _dataname5 'embed'd quote at end too''
19 _test7 "embed"d quote at end too""
20 _test8 ""lots of double double quotes quot"d""
21 _test8a
22 ; semicolon to start, and text continues on same line, many line feeds...
23
24
25 ;
26 save_
27 _test9 "make sure we're allowed the single quote ' with spaces here "
28 _test10
29 ;Hi_there #this checks that non-first character semicolons make it in
30 _test11 and_this_checks_that_comments_are_ok
31 #
32 # this makes sure that there are two data items on the following line
33 loop_ _site.id _site.details
34 'ND'' 'NAD/NADP SELECTIVITY AMINO ACID.'
35 "ND"" "NAD/NADP selectivity amino acid."