From 556fe6af48c597a7b1f759b1d81f1262d1707699 Mon Sep 17 00:00:00 2001 From: Garry O'Donnell Date: Fri, 12 Jul 2024 10:35:50 +0000 Subject: [PATCH] Replaced dls-controls with bluesky --- README.md | 16 ++++++++-------- docs/conf.py | 2 +- docs/how-to/run-container.md | 4 ++-- docs/reference.md | 2 +- docs/reference/api.md | 2 +- docs/tutorials/installation.md | 2 +- pyproject.toml | 2 +- tests/test_specs.py | 2 +- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 98f45f39..d2ab2de9 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ - -[![CI](https://github.com/dls-controls/scanspec/actions/workflows/ci.yml/badge.svg)](https://github.com/dls-controls/scanspec/actions/workflows/ci.yml) -[![Coverage](https://codecov.io/gh/dls-controls/scanspec/branch/main/graph/badge.svg)](https://codecov.io/gh/dls-controls/scanspec) +[![CI](https://github.com/bluesky/scanspec/actions/workflows/ci.yml/badge.svg)](https://github.com/bluesky/scanspec/actions/workflows/ci.yml) +[![Coverage](https://codecov.io/gh/bluesky/scanspec/branch/main/graph/badge.svg)](https://codecov.io/gh/bluesky/scanspec) [![PyPI](https://img.shields.io/pypi/v/scanspec.svg)](https://pypi.org/project/scanspec) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) @@ -20,11 +20,11 @@ can be produced and expanded Paths created to consume chunk by chunk. [cycler]: https://matplotlib.org/cycler/ -Source | +Source | :---: | :---: PyPI | `pip install scanspec` -Documentation | -Releases | +Documentation | +Releases | An example ScanSpec of a 2D snaked grid flyscan inside a circle spending 0.4s at each point: @@ -69,6 +69,6 @@ chunk.upper # bounds are same dimensionality as positions -See https://dls-controls.github.io/scanspec for more detailed documentation. +See https://bluesky.github.io/scanspec for more detailed documentation. -[plot]: https://raw.githubusercontent.com/dls-controls/scanspec/master/docs/images/plot_spec.png +[plot]: https://raw.githubusercontent.com/bluesky/scanspec/master/docs/images/plot_spec.png diff --git a/docs/conf.py b/docs/conf.py index 5bee558b..33b043e4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -147,7 +147,7 @@ # html_theme = "pydata_sphinx_theme" github_repo = "scanspec" -github_user = "dls-controls" +github_user = "bluesky" switcher_json = f"https://{github_user}.github.io/{github_repo}/switcher.json" switcher_exists = requests.get(switcher_json).ok if not switcher_exists: diff --git a/docs/how-to/run-container.md b/docs/how-to/run-container.md index 579c1cd0..ab104335 100644 --- a/docs/how-to/run-container.md +++ b/docs/how-to/run-container.md @@ -1,14 +1,14 @@ # Run in a container Pre-built containers with scanspec and its dependencies already -installed are available on [Github Container Registry](https://ghcr.io/dls-controls/scanspec). +installed are available on [Github Container Registry](https://ghcr.io/bluesky/scanspec). ## Starting the container To pull the container from github container registry and run: ``` -$ docker run ghcr.io/dls-controls/scanspec:main --version +$ docker run ghcr.io/bluesky/scanspec:main --version ``` To get a released version, use a numbered release instead of `main`. diff --git a/docs/reference.md b/docs/reference.md index da17b81e..ff85f567 100644 --- a/docs/reference.md +++ b/docs/reference.md @@ -8,5 +8,5 @@ Technical reference material including APIs and release notes. reference/* genindex -Release Notes +Release Notes ``` diff --git a/docs/reference/api.md b/docs/reference/api.md index 6a6204e2..c4bab762 100644 --- a/docs/reference/api.md +++ b/docs/reference/api.md @@ -21,7 +21,7 @@ from code: .. data:: scanspec.__version__ :type: str - Version number as calculated by https://github.com/dls-controls/versiongit + Version number as calculated by https://github.com/bluesky/versiongit ``` ```{eval-rst} diff --git a/docs/tutorials/installation.md b/docs/tutorials/installation.md index 3e004ec0..592c9da3 100644 --- a/docs/tutorials/installation.md +++ b/docs/tutorials/installation.md @@ -31,7 +31,7 @@ If you require a feature that is not currently released you can also install from github: ``` -$ python3 -m pip install git+https://github.com/dls-controls/scanspec.git +$ python3 -m pip install git+https://github.com/bluesky/scanspec.git ``` If you need to do any plotting (recommended), you should install the `plotting` extra: diff --git a/pyproject.toml b/pyproject.toml index 9a0e14ba..799b38db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,7 +63,7 @@ dev = [ scanspec = "scanspec.cli:cli" [project.urls] -GitHub = "https://github.com/dls-controls/scanspec" +GitHub = "https://github.com/bluesky/scanspec" [[project.authors]] # Further authors may be added by duplicating this section email = "tom.cobb@diamond.ac.uk" diff --git a/tests/test_specs.py b/tests/test_specs.py index c124ce4e..49b72497 100644 --- a/tests/test_specs.py +++ b/tests/test_specs.py @@ -612,7 +612,7 @@ def test_multiple_duration_frames(): AssertionError, match=re.escape("Zipping would overwrite axes ['DURATION']") ): spec.calculate() - spec = ( # TODO: refactor when https://github.com/dls-controls/scanspec/issues/90 + spec = ( # TODO: refactor when https://github.com/bluesky/scanspec/issues/90 Static.duration(0.1) * Line.bounded(DURATION, 0, 0, 2) ) frames = spec.calculate()