Skip to content

Commit

Permalink
Merge pull request #4971 from jenshnielsen/remove_loop
Browse files Browse the repository at this point in the history
Deprecate qcodes.data plot loops actions and measure
  • Loading branch information
jenshnielsen committed Feb 9, 2023
2 parents 4e73552 + 305863f commit 83da2f1
Show file tree
Hide file tree
Showing 78 changed files with 447 additions and 13,726 deletions.
13 changes: 13 additions & 0 deletions README.rst
Expand Up @@ -52,6 +52,19 @@ Go to the directory ``docs`` and
This generate a webpage, index.html, in ``docs/_build/html`` with the
rendered html.

QCoDeS Loop
===========

The modules ``qcodes.data``, ``qcodes.plots``, ``qcodes.actions``,
``qcodes.loops``, ``qcodes.measure``, ``qcodes.extensions.slack``
and ``qcodes.utils.magic`` that were part of QCoDeS until version 0.37.0.
have been moved into an independent package called qcodes_loop.
Please see it's `repository <https://github.com/QCoDeS/Qcodes_loop`_ and
`documentation <https://qcodes.github.io/Qcodes_loop/>`_ for more information.

For the time being it is possible to automatically install the qcodes_loop
package when installing qcodes by executing ``pip install qcodes[loop]``.

Code of Conduct
===============

Expand Down
5 changes: 0 additions & 5 deletions docs/api/actions.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/data/data_array.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/data/data_set.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/data/format.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/data/gnuplot_format.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/data/hdf5_format.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/data/hdf5_format_hickle.rst

This file was deleted.

33 changes: 0 additions & 33 deletions docs/api/data/index.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/data/io.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/data/location.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/api/extensions/slack.rst

This file was deleted.

18 changes: 0 additions & 18 deletions docs/api/index.rst
Expand Up @@ -4,9 +4,6 @@ QCoDes API documentation
========================

This page documents the QCoDes API. This page contains documentation of all user facing modules.
A few of our modules are considered legacy and documented separately below.
This is split in roughly one page per QCoDeS submodule. A few of the submodules have been split for
additional clarity.


QCoDeS API
Expand All @@ -31,18 +28,3 @@ QCoDeS API
station
utils/index
validators/index

Legacy API
----------

.. toctree::
:maxdepth: 2
:includehidden:

loops
actions
measure
data/index
extensions/slack
plots/index
utils/magic
7 changes: 0 additions & 7 deletions docs/api/loops.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/measure.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/plots/base.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/plots/colors.rst

This file was deleted.

25 changes: 0 additions & 25 deletions docs/api/plots/index.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/plots/pyqtgraph.rst

This file was deleted.

5 changes: 0 additions & 5 deletions docs/api/plots/qcmatplotlib.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/api/utils/magic.rst

This file was deleted.

12 changes: 12 additions & 0 deletions docs/changes/newsfragments/4971.breaking
@@ -0,0 +1,12 @@
The modules ``qcodes_loop.data``, ``qcodes_loop.plots``, ``qcodes_loop.actions``, ``qcodes_loop.loops``,
``qcodes_loop.measure``, ``qcodes_loop.extensions.slack`` and ``qcodes_loop.utils.magic``,
``qcodes_loop.utils.qt_helpers`` have been split out into a separate package ``qcodes_loop``.
The respective modules in QCoDeS do still exist as deprecated aliases to the new modules in ``qcodes_loop``
but will be removed in a future release. To use the aliases QCoDeS must be installed with the ``loop`` extra e.g.
you should install ``pip install qcodes[loop]``. If you make use of these modules we recommend updating imports
to use ``qcodes_loop`` as soon as possible. See the `readme <https://github.com/qcodes/qcodes_loop>`_ of
``qcodes_loop`` for more information.

The functions ``qcodes.utils.helpers.tprint`` ``qcodes.utils.helpers.wait_secs`` and
``qcodes.utils.helpers.foreground_qt_window`` have been removed.
These helper functions are only used in ``qcodes_loop`` and were moved there.
30 changes: 0 additions & 30 deletions docs/community/objects.rst
Expand Up @@ -3,36 +3,6 @@ Object Hierarchy

.. todo:: make sure it is updated and easy to read.

Rough linkages:
---------------

In **bold** the containing class creates this object. In *italics* the
container just holds this object (or class) as a default for derivatives
to use. Normal text shows the container includes and uses of this object.

- Station
- Instrument: IPInstrument, VisaInstrument, MockInstrument

- **Parameter**
- Validator: Anything, Strings, Numbers, Ints, Enum, MultiType
- **SweepValues**: SweepFixedValues, AdaptiveSweep
- Function
- Validator

- **Monitor**
- *actions*
- DataManager
- **DataServer**
- :ref:`loops_api`
- actions: Parameter, Task, Wait, (Active)Loop
- **ActiveLoop**

- **DataSet**
- **DataArray**
- **Formatter**: GNUPlotFormat
- **DiskIO** (may become subclass of IOManager?)
- **FormatLocation** (a location\_provider)

Station
-------

Expand Down
11 changes: 0 additions & 11 deletions docs/examples/index.rst
Expand Up @@ -68,14 +68,3 @@ Logging
:glob:

logging/*


Legacy examples
---------------

.. include:: legacy/readme.txt

.. toctree::
:glob:

legacy/*

0 comments on commit 83da2f1

Please sign in to comment.