Skip to content

Commit b22ab58

Browse files
authored
Update README.md
1 parent 3a39a5b commit b22ab58

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ Python adapter via callout for InterSystems Data Platforms.
66
1. Load ObjectScript code.
77
2. Place callout DLL in `bin` folder.
88
3. Check that your `PYTHONHOME` environment variable points to Python 3.6.
9-
4. Check that your SYSTEM `PATH` environment variable has PYTHONHOME.
10-
5. Execute: `do ##class(isc.py.test.CannibalizationData).Import()` to populate test data
9+
4. Check that your SYSTEM `PATH` environment variable has `PYTHONHOME` variable (or directory it points to).
1110

1211
# Use
1312

@@ -27,10 +26,22 @@ do ##class(isc.py.Callout).Finalize()
2726
write ##class(isc.py.Callout).Unload()
2827
```
2928

29+
# Test Business Process
30+
31+
Along with callout code and Interoperability adapter we supply a test production and test Business Process. To use them:
32+
33+
1. In OS bash execute `python -m pip install pyodbc pandas matplotlib seaborn`.
34+
2. Execute: `do ##class(isc.py.test.CannibalizationData).Import()` to populate test data.
35+
3. Create ODBC connection to the namespace with data
36+
4. In test Business Process `isc.py.test.Process` edit annotation for `Correlation Matrix: Tabular` call, specifying correct ODBC DSN in line 3
37+
5. Edit annotation for `Correlation Matrix: Graph` call, specifying valid filepath for `f.savefig` function.
38+
6. Save and compile business process.
39+
7. Start `isc.py.test.Production` production.
40+
8. Send empty `Ens.Request` mesage to the `isc.py.test.Process`.
41+
42+
3043

3144
# Development
3245

3346
Development of ObjectScript is done via [cache-tort-git](https://github.com/MakarovS96/cache-tort-git) in UDL mode.
3447
Development of C code is done in Eclipse.
35-
36-

0 commit comments

Comments
 (0)