celldega 0.1.5 → 0.1.7
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 +29 -0
- package/package.json +15 -10
- package/src/celldega/static/widget.js +82 -82
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,19 @@ 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
|
+
|
|
44
|
+
### PyPI
|
|
45
|
+
Increment version in `project.toml` and
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
$ hatch build
|
|
49
|
+
$ hatch publish
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### NPM
|
|
53
|
+
Increment version in `package.json` and
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
$ npm build
|
|
57
|
+
$ npm publish
|
|
58
|
+
```
|
package/package.json
CHANGED
|
@@ -1,26 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "celldega",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
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
|
-
"
|
|
12
|
+
"@loaders.gl/core": "4.1.1",
|
|
11
13
|
"apache-arrow": "15.0.2",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
+
"deck.gl": "^9.0.5",
|
|
15
|
+
"math.gl": "2.3.3"
|
|
14
16
|
},
|
|
15
17
|
"devDependencies": {
|
|
16
|
-
"
|
|
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/
|
|
25
|
+
"url": "https://github.com/broadinstitute/celldega.git"
|
|
21
26
|
},
|
|
22
27
|
"files": [
|
|
23
28
|
"src/celldega/static/*"
|
|
24
|
-
|
|
25
|
-
"main": "src/celldega/static/widget.js"
|
|
26
|
-
}
|
|
29
|
+
],
|
|
30
|
+
"main": "src/celldega/static/widget.js"
|
|
31
|
+
}
|