@datagrok/compute 1.15.0 → 1.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/files/cars.csv ADDED
@@ -0,0 +1,6 @@
1
+ model,mpg,cyl,disp,hp,drat,wt,qsec,vs,am,gear,carb
2
+ Mazda RX4,21.0,6,160,110,3.90,2.620,16.46,0,1,4,4
3
+ Mazda RX4 Wag,21.0,6,160,110,3.90,2.875,17.02,0,1,4,4
4
+ Datsun 710,22.8,4,108,93,3.85,2.320,18.61,1,1,4,1
5
+ Hornet 4 Drive,21.4,6,258,110,3.08,3.215,19.44,1,0,3,1
6
+ Hornet Sportabout,18.7,8,360,175,3.15,3.440,17.02,0,0,3,2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@datagrok/compute",
3
3
  "friendlyName": "Compute",
4
- "version": "1.15.0",
4
+ "version": "1.15.1",
5
5
  "author": {
6
6
  "name": "Aufar Zakiev",
7
7
  "email": "aufar.zakiev@softwarecountry.com"
@@ -13,7 +13,7 @@
13
13
  "directory": "packages/Compute"
14
14
  },
15
15
  "dependencies": {
16
- "@datagrok-libraries/compute-utils": "^1.15.0",
16
+ "@datagrok-libraries/compute-utils": "^1.15.1",
17
17
  "cash-dom": "latest",
18
18
  "datagrok-api": "^1.16.3",
19
19
  "dayjs": "=1.11.7",
@@ -0,0 +1,16 @@
1
+ //name: cars
2
+ //description: Demonstrates value lookup
3
+ //language: javascript
4
+ //input: string model { choices: OpenFile("System:AppData/Compute/cars.csv"); propagateChoice: all }
5
+ //input: double mpg
6
+ //input: int cyl
7
+ //input: int disp
8
+ //input: int hp
9
+ //input: double drat
10
+ //input: double wt
11
+ //input: double qsec
12
+ //output: double mpgPerCylinder
13
+ //output: double acc
14
+
15
+ mpgPerCylinder = mpg / cyl;
16
+ acc = hp / wt;
package/src/package.ts CHANGED
@@ -33,7 +33,7 @@ export function importScriptGenerator(){
33
33
  //name: OutliersSelectionViewer
34
34
  //description: Creates an outliers selection viewer
35
35
  //tags: viewer
36
- //output: viewer
36
+ //output: viewer result
37
37
  export function OutliersSelection() {
38
38
  return new OutliersSelectionViewer();
39
39
  }