aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorSam Scholten2025-10-24 11:16:31 +1000
committerSam Scholten2025-10-24 11:16:31 +1000
commit89aab509ccb0a30aa7f02c154a2a91506db7ba6d (patch)
tree1dff9cfc5c6b58a1adedb1c3a80e1edbad19a2ce /.gitignore
parenta74c1249a18dbb4d6a69f52ac88a7bb8f6ac0eb7 (diff)
downloadtransivent-89aab509ccb0a30aa7f02c154a2a91506db7ba6d.tar.gz
transivent-89aab509ccb0a30aa7f02c154a2a91506db7ba6d.zip
Fix: Ensure data_path is correctly passed to get_waveform_params() in rd()
When rd() is called with a data_path, it needs to pass this through to get_waveform_params() so the XML sidecar file can be found. Previously, if the filename was already an absolute path, data_path would be ignored, causing FileNotFoundError when XML sidecar was in a different directory. This fix ensures that: - If data_path is provided, it's always used with the basename - If data_path is None, the file's directory is used as data_path - This maintains backward compatibility while fixing the path resolution
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions