diff --git a/.dev/test_mb_2024_4_mux_2023_dps5005.py b/.dev/test_mb_2024_4_mux_2023_dps5005.py index 1eaccef64970e4c2df65edab97de4c07cf065253..d2877b1424fb4d2b64a722d5e03406677762f159 100644 --- a/.dev/test_mb_2024_4_mux_2023_dps5005.py +++ b/.dev/test_mb_2024_4_mux_2023_dps5005.py @@ -81,11 +81,11 @@ if within_ohmpi: print('Starting test with OhmPi.') k = OhmPi() # A, B, M, N = (32, 29, 31, 30) - k.reset_mux() - k.create_sequence(nelec=6, params=[('wenner', 1)], ireciprocal=True) - print(k.sequence) - k.run_sequence(cycles=1, tx_vold=5, cycle_duration=0.2) - k.plot_last_fw() + # k.reset_mux() + # k.create_sequence(nelec=6, params=[('wenner', 1)], ireciprocal=True) + # print(k.sequence) + # k.run_sequence(cycles=1, tx_vold=5, cycle_duration=0.2) + # k.plot_last_fw() k.export(ftype='bert') # k.export(fnames=['data/measurements_20240226T180635.csv'], ftype='bert') # k.download_data() diff --git a/ohmpi/ohmpi.py b/ohmpi/ohmpi.py index fffa50249d737f7068aaa64309bd2bcf99d275e4..b06a25efeb37720ffa3c60fe0feccee25eae92ad 100644 --- a/ohmpi/ohmpi.py +++ b/ohmpi/ohmpi.py @@ -1140,7 +1140,7 @@ class OhmPi(object): # handle parameters default values if fnames is None: 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: outputdir = os.path.join(os.path.dirname(__file__), '../output/') if os.path.exists(outputdir) is False: