| 1 |
This directory contains small example programs showing some uses of PyCIFRW. Of interest: |
| 2 |
|
| 3 |
validate_cif.py Validate against DDL1/DDL2 dictionaries. For example: |
| 4 |
|
| 5 |
python validate_cif.py ../drel/testing/data/nacltest.cif -c -n cif_core.dic -u 2.3.1 |
| 6 |
|
| 7 |
will validate nacltest.cif using the information in cif_core.dic as distributed by the |
| 8 |
IUCr ftp site. |
| 9 |
|
| 10 |
|
| 11 |
loop_example.py Small program demonstrating how to pick particular columns from a loop |
| 12 |
|
| 13 |
add_spoke.py Add a hub-spoke structure to a CIF file by creating a 'hub' category and |
| 14 |
keys in spoke categories that refer to the hub category. |
| 15 |
|
| 16 |
output_asciidoc.py Convert a dictionary into an Ascii Doc file that can then be posted |
| 17 |
on the web. |