From 2c0af5186dae02a43d8956ac5c78044c77eaaea4 Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Thu, 4 Jan 2024 15:02:54 +0100 Subject: [PATCH 1/2] fix naming of newsfragments --- .../newsfragments/{improved_driver.5547 => 5547.improved_driver} | 0 docs/changes/newsfragments/{improved.5565 => 5565.improved} | 0 .../newsfragments/{improved_driver.5572 => 5572.improved_driver} | 0 .../newsfragments/{underthehood.5579 => 5579.underthehood} | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename docs/changes/newsfragments/{improved_driver.5547 => 5547.improved_driver} (100%) rename docs/changes/newsfragments/{improved.5565 => 5565.improved} (100%) rename docs/changes/newsfragments/{improved_driver.5572 => 5572.improved_driver} (100%) rename docs/changes/newsfragments/{underthehood.5579 => 5579.underthehood} (100%) diff --git a/docs/changes/newsfragments/improved_driver.5547 b/docs/changes/newsfragments/5547.improved_driver similarity index 100% rename from docs/changes/newsfragments/improved_driver.5547 rename to docs/changes/newsfragments/5547.improved_driver diff --git a/docs/changes/newsfragments/improved.5565 b/docs/changes/newsfragments/5565.improved similarity index 100% rename from docs/changes/newsfragments/improved.5565 rename to docs/changes/newsfragments/5565.improved diff --git a/docs/changes/newsfragments/improved_driver.5572 b/docs/changes/newsfragments/5572.improved_driver similarity index 100% rename from docs/changes/newsfragments/improved_driver.5572 rename to docs/changes/newsfragments/5572.improved_driver diff --git a/docs/changes/newsfragments/underthehood.5579 b/docs/changes/newsfragments/5579.underthehood similarity index 100% rename from docs/changes/newsfragments/underthehood.5579 rename to docs/changes/newsfragments/5579.underthehood From 283ca341ffc06639f555e5501b4f610525f9f4cb Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Thu, 4 Jan 2024 15:03:45 +0100 Subject: [PATCH 2/2] add changelog for 0.43.0 --- docs/changes/0.43.0.rst | 31 +++++++++++++++++++ docs/changes/index.rst | 1 + .../newsfragments/5547.improved_driver | 2 -- docs/changes/newsfragments/5565.improved | 1 - .../newsfragments/5572.improved_driver | 2 -- docs/changes/newsfragments/5579.underthehood | 1 - docs/changes/newsfragments/5589.improved | 5 --- docs/changes/newsfragments/5618.improved | 4 --- 8 files changed, 32 insertions(+), 15 deletions(-) create mode 100644 docs/changes/0.43.0.rst delete mode 100644 docs/changes/newsfragments/5547.improved_driver delete mode 100644 docs/changes/newsfragments/5565.improved delete mode 100644 docs/changes/newsfragments/5572.improved_driver delete mode 100644 docs/changes/newsfragments/5579.underthehood delete mode 100644 docs/changes/newsfragments/5589.improved delete mode 100644 docs/changes/newsfragments/5618.improved diff --git a/docs/changes/0.43.0.rst b/docs/changes/0.43.0.rst new file mode 100644 index 00000000000..bb18ea184c8 --- /dev/null +++ b/docs/changes/0.43.0.rst @@ -0,0 +1,31 @@ +QCoDeS 0.43.0 (2024-01-04) +========================== + +Improved: +--------- + +- qcodes.Monitor now runs as a daemon thread, resolving issues with closing python or ipython with a running qcodes.Monitor. (:pr:`5565`) +- The use of multi index when exporting to xarray (and netcdf files) has been made smarter + such that any dataset with a known shape (such as those measured by doNd etc) will + never be automatically exported using multi index even in the case of incomplete datasets (i.e. due to an interrupted measurement). + Furthermore `to_xarray_dataset` and `to_xarray_dataarray_dict` have gained a key word argument `use_multi_index` to allow the user + to control the use of multi indexes. (:pr:`5589`) +- The feature of exporting large DataSets to netcdf by writing individual small files and combining them, introduced in QCoDeS 0.41.0 has been made configurable + and turned off by default due to a number of corner cases where the export did not work correctly. The + feature can be enabled when required by setting the config variable `qcodes.config.dataset.export_chunked_export_of_large_files_enabled` + to True and the threshold controlled using `qcodes.config.dataset.export_chunked_threshold` (:pr:`5618`) + + +Improved Drivers: +----------------- + +- Keithley 2450s by default don't block when setting their output level, differing in behavior from the keithley 2400. + I added a manual boolian parameter 'block_during_ramp' which forces a check that the ramp command has been completed when True. (:pr:`5547`) +- Previously, the keithley 2450 driver had an initial value for the output. This is particularly dangerous when reinitializing/recovering from a kernal crash. + Initializing the instrument should leave all parameters unchanged. This PR removes the initial value for the output. (:pr:`5572`) + + +Under the hood: +--------------- + +- Fix typo: instrument_drivers.mock_instruments.DummyInstrument::get_idn() now returns dict containing key "serial" instead of "seral" (:pr:`5579`) diff --git a/docs/changes/index.rst b/docs/changes/index.rst index e1a89c7e159..5db82c45828 100644 --- a/docs/changes/index.rst +++ b/docs/changes/index.rst @@ -3,6 +3,7 @@ Changelogs .. toctree:: Unreleased + 0.43.0 <0.43.0> 0.42.1 <0.42.1> 0.42.0 <0.42.0> 0.41.1 <0.41.1> diff --git a/docs/changes/newsfragments/5547.improved_driver b/docs/changes/newsfragments/5547.improved_driver deleted file mode 100644 index ac1b17c4e12..00000000000 --- a/docs/changes/newsfragments/5547.improved_driver +++ /dev/null @@ -1,2 +0,0 @@ -Keithley 2450s by default don't block when setting their output level, differing in behavior from the keithley 2400. -I added a manual boolian parameter 'block_during_ramp' which forces a check that the ramp command has been completed when True. diff --git a/docs/changes/newsfragments/5565.improved b/docs/changes/newsfragments/5565.improved deleted file mode 100644 index 215545d8587..00000000000 --- a/docs/changes/newsfragments/5565.improved +++ /dev/null @@ -1 +0,0 @@ -qcodes.Monitor now runs as a daemon thread, resolving issues with closing python or ipython with a running qcodes.Monitor. diff --git a/docs/changes/newsfragments/5572.improved_driver b/docs/changes/newsfragments/5572.improved_driver deleted file mode 100644 index dd696ab343a..00000000000 --- a/docs/changes/newsfragments/5572.improved_driver +++ /dev/null @@ -1,2 +0,0 @@ -Previously, the keithley 2450 driver had an initial value for the output. This is particularly dangerous when reinitializing/recovering from a kernal crash. -Initializing the instrument should leave all parameters unchanged. This PR removes the initial value for the output. diff --git a/docs/changes/newsfragments/5579.underthehood b/docs/changes/newsfragments/5579.underthehood deleted file mode 100644 index 6c9d14b7c4d..00000000000 --- a/docs/changes/newsfragments/5579.underthehood +++ /dev/null @@ -1 +0,0 @@ -Fix typo: instrument_drivers.mock_instruments.DummyInstrument::get_idn() now returns dict containing key "serial" instead of "seral" diff --git a/docs/changes/newsfragments/5589.improved b/docs/changes/newsfragments/5589.improved deleted file mode 100644 index 489f7e8ff09..00000000000 --- a/docs/changes/newsfragments/5589.improved +++ /dev/null @@ -1,5 +0,0 @@ -The use of multi index when exporting to xarray (and netcdf files) has been made smarter -such that any dataset with a known shape (such as those measured by doNd etc) will -never be automatically exported using multi index even in the case of incomplete datasets (i.e. due to an interrupted measurement). -Furthermore `to_xarray_dataset` and `to_xarray_dataarray_dict` have gained a key word argument `use_multi_index` to allow the user -to control the use of multi indexes. diff --git a/docs/changes/newsfragments/5618.improved b/docs/changes/newsfragments/5618.improved deleted file mode 100644 index 8eae07261c2..00000000000 --- a/docs/changes/newsfragments/5618.improved +++ /dev/null @@ -1,4 +0,0 @@ -The feature of exporting large DataSets to netcdf by writing individual small files and combining them, introduced in QCoDeS 0.41.0 has been made configurable -and turned off by default due to a number of corner cases where the export did not work correctly. The -feature can be enabled when required by setting the config variable `qcodes.config.dataset.export_chunked_export_of_large_files_enabled` -to True and the threshold controlled using `qcodes.config.dataset.export_chunked_threshold`