Skip to content

Commit a72ff8e

Browse files
authored
leave waveforms on disk in dingo_ls for waveform datasets (#310)
* leave waveforms on disk in dingo_ls when extracting metadata for waveform dataset * fix deprecation bug in setup-python@v3 by upgrading to v5, reported here: actions/setup-python#1085
1 parent 77408f3 commit a72ff8e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v3
1919

2020
- name: Set up Python 3.10
21-
uses: actions/setup-python@v3
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: '3.10'
2424
cache: 'pip'

dingo/gw/ls_cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ def ls():
8787
svd.print_validation_summary()
8888

8989
elif dataset_type == "waveform_dataset":
90-
waveform_dataset = WaveformDataset(file_name=args.file_name)
90+
waveform_dataset = WaveformDataset(
91+
file_name=args.file_name, leave_waveforms_on_disk=True
92+
)
9193
print(f"Dingo version: {waveform_dataset.version}")
9294
print("\nWaveform dataset\n" + "================\n")
9395

0 commit comments

Comments
 (0)