File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisbuild
1515USER ${ISC_PACKAGE_MGRUSER}
1616
1717# COPY Installer.cls .
18+ COPY data data
1819COPY python python
1920COPY src src
2021COPY module.xml module.xml
Original file line number Diff line number Diff line change 33 <Document name =" iris-python-template.ZPM" >
44 <Module >
55 <Name >iris-python-template</Name >
6- <Version >0.0.1 </Version >
6+ <Version >0.0.2 </Version >
77 <Packaging >module</Packaging >
88 <SourcesRoot >src</SourcesRoot >
99 <Resource Name =" dc.python.PKG" />
1010 <FileCopy Name =" python/" Target =" ${mgrdir}python/" />
11+ <FileCopy Name =" data/" Target =" ${mgrdir}data/" />
1112 </Module >
1213 </Document >
1314</Export >
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ ClassMethod TitanicMeanAge() As %Status
3030{
3131 Set sc = $$$OK
3232 set tt =##class (%SYS.Python ).Import (" sample" )
33- set mean = tt . meanage ( " /irisrun/repo/ data/titanic.csv" )
34- write " mean age=" _ mean
33+ set path = $System . Util . ManagerDirectory ()_ " data/titanic.csv"
34+ write " mean age=" _ tt . meanage ( path )
3535 Return sc
3636}
3737
You can’t perform that action at this time.
0 commit comments