- updated the AvalonTools README

This commit is contained in:
Paolo Tosco
2016-02-21 21:44:16 +00:00
parent cf8180e435
commit b86eb79618

View File

@@ -4,58 +4,9 @@ http://sourceforge.net/projects/avalontoolkit/files/AvalonToolkit_1.1_beta/Avalo
Note that the version number is important.
Extract the tar file somewhere; the source requred by the RDKit is in
Extract the tar file in $RDBASE/External/AvalonTools; the source required by the RDKit is in
the SourceDistribution directory.
Apply the following diff to the files
SourceDistribution/common/reaccsio.c and
SourceDistribution/common/smi2mol.c:
$ diff SourceDistribution/common ~/avalontoolkit_beta/SourceDistribution/common
diff SourceDistribution/common/reaccsio.c /cygdrive/c/Users/glandrum/avalontoolkit_beta/SourceDistribution/common/reaccsio.c
1400d1399
<
1414c1413
< MyFree((char *)tempdir);
---
> //MyFree((char *)tempdir);
1433d1431
<
1443c1441
<
---
> fprintf(stderr," returning\n");
diff SourceDistribution/common/smi2mol.c /cygdrive/c/Users/glandrum/avalontoolkit_beta/SourceDistribution/common/smi2mol.c
936c936
< fprintf(stderr, "2: opening branch '%s'\n", tmp);
---
> /* fprintf(stderr, "2: opening branch '%s'\n", tmp); */
1012c1012
< fprintf(stderr, "closing branch '%s'\n", tmp);
---
> /* fprintf(stderr, "closing branch '%s'\n", tmp); */
1543c1543
< fprintf(stderr, ".{%s:%d}", mp->atom_array[ibranch].atext, ibranch+1);
---
> /*fprintf(stderr, ".{%s:%d}", mp->atom_array[ibranch].atext, ibranch+1);*/
1550c1550
< fprintf(stderr, "{%s:%d}", mp->atom_array[ibranch].atext, ibranch+1);
---
> /*fprintf(stderr, "{%s:%d}", mp->atom_array[ibranch].atext, ibranch+1);*/
1574c1574
< fprintf(stderr, "1: opening branch '%s'\n", num_buf);
---
> /*fprintf(stderr, "1: opening branch '%s'\n", num_buf);*/
1592c1592
< fprintf(stderr, "{%s:%d}", mp->atom_array[ibranch].atext, ibranch+1);
---
> /*fprintf(stderr, "{%s:%d}", mp->atom_array[ibranch].atext, ibranch+1);*/
1596c1596
< fprintf(stderr, "\n");
---
> /*fprintf(stderr, "\n");*/
cd to $RDBASE/External/AvalonTools and apply AvalonToolkit_1.1_beta_patch.txt:
$ patch -p0 < AvalonToolkit_1.1_beta_patch.txt