Open kirbyj opened 2 years ago
I would consider database query results (or at least their session and bundle names) as immutable objects. If you change the session name in the query result, the database will not be updated automagically (by renaming the session). The results are just tibble objects. With the second call to get_trackdata
you query bundles of a non-existent session 'F1' and that fails.
I agree that the error message is misleading.
Do you just want to rename the session from '0000' to 'F1' ?
We were just using session
as a stand-in for "speaker"; it's simpler to just create a new column. But yes, the idea was just to rename the session(s).
I imagine there is some good reason for this, but I don't understand this behaviour:
Now create a seglist:
Get trackdata:
So far, so good. Now I want
session
to have some other value:Note that
session
is still a<chr>
. But now:I am willing to accept that part of the solution here is "don't mess with
session
, but at the very least, this seems like the wrong error message: nothing has touched the audio files or their sample rates.