File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ Python adapter via callout for InterSystems Data Platforms.
6
6
1 . Load ObjectScript code.
7
7
2 . Place callout DLL in ` bin ` folder.
8
8
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).
11
10
12
11
# Use
13
12
@@ -27,10 +26,22 @@ do ##class(isc.py.Callout).Finalize()
27
26
write ##class(isc.py.Callout).Unload()
28
27
```
29
28
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
+
30
43
31
44
# Development
32
45
33
46
Development of ObjectScript is done via [ cache-tort-git] ( https://github.com/MakarovS96/cache-tort-git ) in UDL mode.
34
47
Development of C code is done in Eclipse.
35
-
36
-
You can’t perform that action at this time.
0 commit comments