celldega 0.1.4 → 0.1.6

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/README.md CHANGED
@@ -6,6 +6,19 @@
6
6
  pip install celldega
7
7
  ```
8
8
 
9
+ ### Note on VIPS Installation
10
+ If running on a new Terra.bio workspace you will need to install vips in a startup script (e.g., startup_script.sh) with the following
11
+
12
+ ```
13
+ #!/bin/bash
14
+ apt update
15
+ apt install -y libvips
16
+ apt install -y libvips-tools
17
+ apt install -y libvips-dev
18
+ ```
19
+
20
+ Please see Terra.bio [documentation](https://support.terra.bio/hc/en-us/articles/360058193872-Preconfigure-a-Cloud-Environment-with-a-startup-script) for more information.
21
+
9
22
  ## Development installation
10
23
 
11
24
  Create a virtual environment and and install celldega in *editable* mode with the
@@ -27,3 +40,4 @@ npm run dev
27
40
  Open `example.ipynb` in JupyterLab, VS Code, or your favorite editor
28
41
  to start developing. Changes made in `js/` will be reflected
29
42
  in the notebook.
43
+
package/package.json CHANGED
@@ -1,23 +1,31 @@
1
1
  {
2
2
  "name": "celldega",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "npm run build -- --sourcemap=inline --watch",
7
- "build": "node build.js"
7
+ "build": "node build.js",
8
+ "watch": "node build.js --watch",
9
+ "lint": "eslint js/ --ignore-pattern js/vendor/"
8
10
  },
9
11
  "dependencies": {
10
- "deck.gl": "^9.0.5",
12
+ "@loaders.gl/core": "4.1.1",
11
13
  "apache-arrow": "15.0.2",
12
- "math.gl": "2.3.3",
13
- "@loaders.gl/core": "4.1.1"
14
+ "deck.gl": "^9.0.5",
15
+ "math.gl": "2.3.3"
14
16
  },
15
17
  "devDependencies": {
16
- "esbuild": "^0.20.0"
18
+ "@eslint/js": "^9.0.0",
19
+ "esbuild": "^0.20.0",
20
+ "eslint": "^9.0.0",
21
+ "globals": "^15.0.0"
17
22
  },
18
23
  "repository": {
19
24
  "type": "git",
20
- "url": "https://github.com/yourusername/your-repo.git"
25
+ "url": "https://github.com/broadinstitute/celldega.git"
21
26
  },
22
- "main": "src/celldega/static/widget.js"
23
- }
27
+ "files": [
28
+ "src/celldega/static/*"
29
+ ],
30
+ "main": "src/celldega/static/widget.js"
31
+ }