| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta name="author" content="James Hester"> |
| 5 | <meta name="description" content="Form for inputting CIF files for validation"> |
| 6 | <title>CIF Validation web interface</title> |
| 7 | </head> |
| 8 | <body> |
| 9 | |
| 10 | <h2>CIF file validation server</h2> |
| 11 | <hr align="center" size="1" width="100%"> |
| 12 | <form action="cgi-bin/process-validate.py" enctype="multipart/form-data" method="POST"> |
| 13 | <table cellpadding="5" cellspacing="5" border="0"> |
| 14 | <tr><th>CIF or dictionary file for validation:</th> |
| 15 | <td><input name="cif_file" type="file"></td> |
| 16 | <td>Is this file a DDL2 dictionary?</td> |
| 17 | <td><input type="checkbox" name="is_dic"></td></tr> |
| 18 | <tr><th>Dictionary/dictionaries to validate against:</th> |
| 19 | <td><select name="dic_list" multiple> |
| 20 | <option selected value="cif_core_2.3.1.dic">core</option> |
| 21 | <option value="cif_pd.dic">powder</option> |
| 22 | <option value="cif_mm_2.0.03.dic">Macromolecular</option> |
| 23 | <option value="ddl_core_1.4.1.dic">DDL1</option> |
| 24 | <option value="ddl_core_1.4.1-mod.dic">DDL1 (modified)<sup>*</sup></option> |
| 25 | <option value="ddl_core_2.1.3.dic">DDL2</option> |
| 26 | </select></td></tr> |
| 27 | <tr><td></td><td><input name="submit" type="submit"></td></tr></table> |
| 28 | </form> |
| 29 | <p><sup>*</sup>: Uses a DDL1 dictionary where the <tt>_type_construct</tt> attribute |
| 30 | for <tt>_enumeration_range</tt> has been changed from |
| 31 | <tt>(_sequence_minimum):((_sequence_maximum)?)</tt> to |
| 32 | <tt>[A-Za-z0-9+%^#@-]+:[A-Za-z0-9+%^#@-]?</tt>. |
| 33 | The as-written attribute value is not machine-readable and therefore produces a lot of |
| 34 | validation warnings.</p> |
| 35 | <hr align="center" size="1" width="100%"> |
| 36 | <h2>Background</h2> |
| 37 | <p>This is an experimental web-based interface for validating CIF files using |
| 38 | the PyCIFRW package described in <a href="http://www.iucr.org/cgi-bin/paper?wf5020"> |
| 39 | <i>J. Appl. Cryst.</i> <b>39</b>, 621---625</a>. Using this interface, you |
| 40 | should be able to: |
| 41 | <ul><li>Validate a DDL1-style data CIF against the listed DDL1 dictionaries; |
| 42 | <li>Validate a DDL2-style data CIF against the listed DDL2 dictionaries; |
| 43 | <li>Validate a DDL1-style data CIF against the listed DDL2 dictionaries; |
| 44 | <li>Validate a DDL1/2 CIF dictionary against an appropriate DDL1/2 dictionary; |
| 45 | </ul> |
| 46 | <p> Please note that there is a file-size limit of 100K, and that files containing syntax errors |
| 47 | will not currently produce an informative error report.</p> |
| 48 | <p>If you are able to produce an error message using a syntactically correct |
| 49 | CIF file, or if you disagree with an assessment of block validity, please forward |
| 50 | your comments and the error to <tt>jrh at anbf2 dot kek dot jp</tt>. |
| 51 | </body> |
| 52 | </html> |