Skip to content

Commit

Permalink
Merge pull request #7 from TileDB-Inc/rw/nbs
Browse files Browse the repository at this point in the history
update "template" nb names: `workshop.ipynb` -> `instructor_scverse-ml-workshop-2024`
  • Loading branch information
ryan-williams authored Sep 10, 2024
2 parents 16e45dc + cfc5710 commit 4d07555
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cp-template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sync template.ipynb to scverse-ml-workshop-2024 TileDB-Cloud namespace
name: Sync workshop.ipynb to scverse-ml-workshop-2024 TileDB-Cloud namespace
on:
push:
branches:
Expand All @@ -13,6 +13,6 @@ jobs:
with:
python-version: '3.11'
- run: pip install -e .
- run: scverse nb put template.ipynb
- run: scverse nb put workshop.ipynb
env:
TILEDB_REST_TOKEN: ${{ secrets.TILEDB_REST_TOKEN }}
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Scripts/Notebooks associated with the [Training models on atlas-scale single-cell datasets] workshop at [scverse Conference 2024].

[workshop.ipynb] is synced to the TileDB-Cloud, and a copy created for each workshop participant.

## `scverse`: TileDB-Cloud CLI

### Install
Expand Down Expand Up @@ -207,7 +209,8 @@ Options:
-n, --dry-run Print commands that would be run, but don't
run them
-s, --src-notebook-name TEXT "Read-only" notebook name, to be copied and
renamed for each user (default: "template").
renamed for each user (default:
"instructor_scverse-ml-workshop-2024").
--help Show this message and exit.
```
</details>
Expand Down Expand Up @@ -384,7 +387,8 @@ scverse user add
# ['owner', 'admin', 'read_write',
# 'read_only']; default: "read_write")
# -s, --src-notebook-name TEXT "Read-only" notebook name, to be copied and
# renamed for each user (default: "template").
# renamed for each user (default:
# "instructor_scverse-ml-workshop-2024").
# -i, --image TEXT Default image
# -r, --region TEXT Default region
# -z, --size TEXT Default server size
Expand All @@ -399,8 +403,8 @@ See [examples/](examples/):


[Training models on atlas-scale single-cell datasets]: https://cfp.scverse.org/2024/talk/GQHNYE/
[schedule]: https://scverse.org/conference2024/schedule#2024-09-12
[scverse Conference 2024]: https://scverse.org/conference2024
[workshop.ipynb]: workshop.ipynb
[pytorch.ipynb]: examples/pytorch.ipynb
[pytorch.html]: https://chanzuckerberg.github.io/cellxgene-census/notebooks/experimental/pytorch.html
[cshl.ipynb]: examples/cshl.ipynb
Expand Down
2 changes: 1 addition & 1 deletion scverse/cli/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def cli():
DEFAULT_CREDENTIAL_NAME = 'scverse-ml-workshop-2024'
DEFAULT_CLOUD_TOKEN_PATH = '.tiledb-cloud-token'
TILEDB_REST_TOKEN_VAR = 'TILEDB_REST_TOKEN'
TEMPLATE_NAME = 'template' # "Read-only" notebook, to be copied and renamed for each user.
TEMPLATE_NAME = 'instructor_scverse-ml-workshop-2024' # "Read-only" notebook, to be copied and renamed for each user.
DEFAULT_SERVER_SIZE = 'large' # TODO

READ_WRITE = OrganizationRoles.READ_WRITE
Expand Down
File renamed without changes.

0 comments on commit 4d07555

Please sign in to comment.