Commit 5bacc28e authored by Guillaume Blanchy's avatar Guillaume Blanchy
Browse files

Update test

Showing with 6 additions and 6 deletions
+6 -6
...@@ -81,11 +81,11 @@ if within_ohmpi: ...@@ -81,11 +81,11 @@ if within_ohmpi:
print('Starting test with OhmPi.') print('Starting test with OhmPi.')
k = OhmPi() k = OhmPi()
# A, B, M, N = (32, 29, 31, 30) # A, B, M, N = (32, 29, 31, 30)
k.reset_mux() # k.reset_mux()
k.create_sequence(nelec=6, params=[('wenner', 1)], ireciprocal=True) # k.create_sequence(nelec=6, params=[('wenner', 1)], ireciprocal=True)
print(k.sequence) # print(k.sequence)
k.run_sequence(cycles=1, tx_vold=5, cycle_duration=0.2) # k.run_sequence(cycles=1, tx_vold=5, cycle_duration=0.2)
k.plot_last_fw() # k.plot_last_fw()
k.export(ftype='bert') k.export(ftype='bert')
# k.export(fnames=['data/measurements_20240226T180635.csv'], ftype='bert') # k.export(fnames=['data/measurements_20240226T180635.csv'], ftype='bert')
# k.download_data() # k.download_data()
......
...@@ -1140,7 +1140,7 @@ class OhmPi(object): ...@@ -1140,7 +1140,7 @@ class OhmPi(object):
# handle parameters default values # handle parameters default values
if fnames is None: if fnames is None:
datadir = os.path.join(os.path.dirname(__file__), '../data/') datadir = os.path.join(os.path.dirname(__file__), '../data/')
fnames = [os.path.join(datadir, f) for f in os.listdir(datadir) if f[-4:] == '.csv'] fnames = [os.path.join(datadir, f) for f in os.listdir(datadir) if (f[-4:] == '.csv' and f[-7:] != '_rs.csv')]
if outputdir is None: if outputdir is None:
outputdir = os.path.join(os.path.dirname(__file__), '../output/') outputdir = os.path.join(os.path.dirname(__file__), '../output/')
if os.path.exists(outputdir) is False: if os.path.exists(outputdir) is False:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment