Skip to content

Commit

Permalink
chore: 💩 Change name to cellmap-models (from cellmap.models)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoadesScholar committed Mar 7, 2024
1 parent d5a4975 commit 4c77da9
Show file tree
Hide file tree
Showing 30 changed files with 15 additions and 91 deletions.
4 changes: 2 additions & 2 deletions .cruft.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"full_name": "CellMap",
"email": "[email protected]",
"github_username": "rhoadesScholar",
"project_name": "cellmap.models",
"project_slug": "cellmap.models",
"project_name": "cellmap-models",
"project_slug": "cellmap-models",
"project_short_description": "Repository of model architectures and network weights used for CellMap segmentations.",
"_copy_without_render": [
".github/workflows/tests.yaml",
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# cellmap.models
# cellmap-models

[![tests](https://github.com/janelia-cellmap/cellmap.models/actions/workflows/tests.yaml/badge.svg)](https://github.com/janelia-cellmap/cellmap.models/actions/workflows/tests.yaml)
[![black](https://github.com/janelia-cellmap/cellmap.models/actions/workflows/black.yaml/badge.svg)](https://github.com/janelia-cellmap/cellmap.models/actions/workflows/black.yaml)
[![mypy](https://github.com/janelia-cellmap/cellmap.models/actions/workflows/mypy.yaml/badge.svg)](https://github.com/janelia-cellmap/cellmap.models/actions/workflows/mypy.yaml)
[![codecov](https://codecov.io/gh/janelia-cellmap/cellmap.models/branch/main/graph/badge.svg)](https://codecov.io/gh/janelia-cellmap/cellmap.models)
[![tests](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/tests.yaml/badge.svg)](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/tests.yaml)
[![black](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/black.yaml/badge.svg)](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/black.yaml)
[![mypy](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/mypy.yaml/badge.svg)](https://github.com/janelia-cellmap/cellmap-models/actions/workflows/mypy.yaml)
[![codecov](https://codecov.io/gh/janelia-cellmap/cellmap-models/branch/main/graph/badge.svg)](https://codecov.io/gh/janelia-cellmap/cellmap-models)

This package contains the models used for segmention by the CellMap project team at HHMI Janelia.

## Installation

```bash
git clone https://github.com/janelia-cellmap/cellmap.models
cd cellmap.models
git clone https://github.com/janelia-cellmap/cellmap-models
cd cellmap-models
conda env create -n cellmap python=3.10
conda activate cellmap
pip install .
Expand All @@ -20,13 +20,13 @@ pip install .
## Usage

```python
import cellmap.models
import cellmap-models
```

Different models are available in the `cellmap.models` module. For example, to use the models produced by the `COSEM` pilot project team, and published as part of [Whole-cell organelle segmentation in volume electron microscopy](https://doi.org/10.1038/s41586-021-03977-3):
Different models are available in the `cellmap-models` module. For example, to use the models produced by the `COSEM` pilot project team, and published as part of [Whole-cell organelle segmentation in volume electron microscopy](https://doi.org/10.1038/s41586-021-03977-3):

```python
import cellmap.models.cosem as cosem_models
import cellmap-models.cosem as cosem_models
model = cosem_models.load_model('setup04/1820500')
```

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ build-backend = "setuptools.build_meta"
requires = ["setuptools", "wheel"]

[project]
name = "cellmap.models"
name = "cellmap-models"
description = "Repository of model architectures and network weights used for CellMap segmentations."
readme = "README.md"
requires-python = ">=3.7"
Expand Down Expand Up @@ -33,5 +33,5 @@ dev = [
]

[project.urls]
homepage = "https://github.com/janelia-cellmap/cellmap.models"
repository = "https://github.com/janelia-cellmap/cellmap.models"
homepage = "https://github.com/janelia-cellmap/cellmap-models"
repository = "https://github.com/janelia-cellmap/cellmap-models"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
55 changes: 0 additions & 55 deletions src/cellmap.models.egg-info/PKG-INFO

This file was deleted.

8 changes: 0 additions & 8 deletions src/cellmap.models.egg-info/SOURCES.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/cellmap.models.egg-info/dependency_links.txt

This file was deleted.

11 changes: 0 additions & 11 deletions src/cellmap.models.egg-info/requires.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/cellmap.models.egg-info/top_level.txt

This file was deleted.

0 comments on commit 4c77da9

Please sign in to comment.