From a85f67568610dc712192ebb4b806cab5a64e9623 Mon Sep 17 00:00:00 2001 From: Documentation Bot Date: Wed, 6 Dec 2017 10:49:26 +0000 Subject: [PATCH] Generated gh-pages for commit bd43328b Author: Jens Hedegaard Nielsen Hypothesis warnings (#905) --- _modules/qcodes/data/data_set.html | 6 ++++-- _modules/qcodes/data/gnuplot_format.html | 8 ++++++-- _modules/qcodes/loops.html | 20 ++++++++++--------- ...codes.instrument_drivers.signal_hound.html | 2 +- 4 files changed, 22 insertions(+), 14 deletions(-) diff --git a/_modules/qcodes/data/data_set.html b/_modules/qcodes/data/data_set.html index 78471b112c8..9f910fbfd84 100644 --- a/_modules/qcodes/data/data_set.html +++ b/_modules/qcodes/data/data_set.html @@ -557,8 +557,10 @@

Source code for qcodes.data.data_set

             log.debug('Attempting to write')
             self.write()
             self.last_write = time.time()
-        else:
-            log.debug('.store method: This is not the right time to write')
+        # The below could be useful but as it writes at every single
+        # step of the loop its too verbose even at debug
+        # else:
+        #     log.debug('.store method: This is not the right time to write')
 
     def default_parameter_name(self, paramname='amplitude'):
         """ Return name of default parameter for plotting
diff --git a/_modules/qcodes/data/gnuplot_format.html b/_modules/qcodes/data/gnuplot_format.html
index 53fa0645999..2fb64df0f89 100644
--- a/_modules/qcodes/data/gnuplot_format.html
+++ b/_modules/qcodes/data/gnuplot_format.html
@@ -438,7 +438,10 @@ 

Source code for qcodes.data.gnuplot_format

         # Every group gets its own datafile
         for group in groups:
             log.debug('Attempting to write the following '
-                      'group: {}'.format(group))
+                      'group: {}'.format(group.name))
+            # it might be useful to output the whole group as below but it is
+            # very verbose
+            #log.debug('containing {}'.format(group))
 
             if filename:
                 fn = io_manager.join(location, filename + self.extension)
@@ -481,7 +484,8 @@ 

Source code for qcodes.data.gnuplot_format

 
                     one_point = self._data_point(group, indices)
                     f.write(self.separator.join(one_point) + self.terminator)
-                    log.debug('Wrote to file')
+                log.debug('Wrote to file from '
+                          '{} to {}'.format(save_range[0], save_range[1]+1))
             # now that we've saved the data, mark it as such in the data.
             # we mark the data arrays and the inner setpoint array. Outer
             # setpoint arrays have different dimension (so would need a
diff --git a/_modules/qcodes/loops.html b/_modules/qcodes/loops.html
index 46db93f1795..4b2b0f2197e 100644
--- a/_modules/qcodes/loops.html
+++ b/_modules/qcodes/loops.html
@@ -1007,8 +1007,9 @@ 

Source code for qcodes.loops

                 set_name = self.data_set.action_id_map[action_indices]
                 if hasattr(self.sweep_values, 'aggregate'):
                     value = self.sweep_values.aggregate(*set_val)
-                log.debug('Calling .store method of DataSet because '
-                          'sweep_values.parameters exist')
+                # below is useful but too verbose even at debug
+                # log.debug('Calling .store method of DataSet because '
+                #           'sweep_values.parameters exist')
                 self.data_set.store(new_indices, {set_name: value})
                 # set_val list of values to set [param1_setpoint, param2_setpoint ..]
                 for j, val in enumerate(set_val):
@@ -1018,9 +1019,9 @@ 

Source code for qcodes.loops

             else:
                 set_name = self.data_set.action_id_map[action_indices]
                 data_to_store[set_name] = value
-
-            log.debug('Calling .store method of DataSet because a sweep step'
-                      ' was taken')
+            # below is useful but too verbose even at debug
+            # log.debug('Calling .store method of DataSet because a sweep step'
+            #           ' was taken')
             self.data_set.store(new_indices, data_to_store)
 
             if not self._nest_first:
@@ -1029,8 +1030,9 @@ 

Source code for qcodes.loops

 
             try:
                 for f in callables:
-                    log.debug('Going through callables at this sweep step.'
-                              ' Calling {}'.format(f))
+                    # below is useful but too verbose even at debug
+                    # log.debug('Going through callables at this sweep step.'
+                    #           ' Calling {}'.format(f))
                     f(first_delay=delay,
                       loop_indices=new_indices,
                       current_values=new_values)
@@ -1068,9 +1070,9 @@ 

Source code for qcodes.loops

             self.bg_task()
 
         # the loop is finished - run the .then actions
-        log.debug('Finishing loop, running the .then actions...')
+        #log.debug('Finishing loop, running the .then actions...')
         for f in self._compile_actions(self.then_actions, ()):
-            log.debug('...running .then action {}'.format(f))
+            #log.debug('...running .then action {}'.format(f))
             f()
 
         # run the bg_final_task from the bg_task:
diff --git a/api/generated/qcodes.instrument_drivers.signal_hound.html b/api/generated/qcodes.instrument_drivers.signal_hound.html
index 9b384597bf6..65ffb84fc05 100644
--- a/api/generated/qcodes.instrument_drivers.signal_hound.html
+++ b/api/generated/qcodes.instrument_drivers.signal_hound.html
@@ -323,7 +323,7 @@ 

Submodules
-saStatus_inverted = {-666: 'saUnknownErr', -99: 'saFrequencyRangeErr', -95: 'saInvalidDetectorErr', -94: 'saInvalidScaleErr', -91: 'saBandwidthErr', -89: 'saExternalReferenceNotFound', -20: 'saOvenColdErr', -12: 'saInternetErr', -11: 'saUSBCommErr', -10: 'saTrackingGeneratorNotFound', -9: 'saDeviceNotIdleErr', -8: 'saDeviceNotFoundErr', -7: 'saInvalidModeErr', -6: 'saDeviceNotConfiguredErr', -5: 'saTooManyDevicesErr', -4: 'saInvalidParameterErr', -3: 'saDeviceNotOpenErr', -2: 'saInvalidDeviceErr', -1: 'saNullPtrErr', 0: 'saNoError', 1: 'saNoCorrections', 2: 'saCompressionWarning', 3: 'saParameterClamped', 4: 'saBandwidthClamped'}
+saStatus_inverted = {-666: 'saUnknownErr', -99: 'saFrequencyRangeErr', -95: 'saInvalidDetectorErr', -94: 'saInvalidScaleErr', -91: 'saBandwidthErr', -89: 'saExternalReferenceNotFound', -20: 'saOvenColdErr', -12: 'saInternetErr', -11: 'saUSBCommErr', -10: 'saTrackingGeneratorNotFound', -9: 'saDeviceNotIdleErr', -8: 'saDeviceNotFoundErr', -7: 'saInvalidModeErr', -6: 'saNotConfiguredErr', -5: 'saTooManyDevicesErr', -4: 'saInvalidParameterErr', -3: 'saDeviceNotOpenErr', -2: 'saInvalidDeviceErr', -1: 'saNullPtrErr', 0: 'saNoError', 1: 'saNoCorrections', 2: 'saCompressionWarning', 3: 'saParameterClamped', 4: 'saBandwidthClamped'}