Hi all,
I'm a bit confused by the output of the context command in relation to what
I thought I was supposed to get as output. What I
thought I should get as output seems consistent with the description on the Humdrum command manual (
https://www.humdrum.org/man/context/) though it doesn't actually show the example explicitly of what I'm looking for.
When I run context -n 3 -i [=r] density (like in the example only subbing my own file for the density file) I don't get the same output. Specifically, in the online example, records with just the barline (e.g., =41) are preserved; but when I run it, they are padded with tokens but NOT preserved (they are correctly spit out in the amalgamated output but appropriately ignored.)
Similarly, I thought that if I ran this same function with the -o option instead of -i that it similarly would preserve the measure numbers (rather than fill a token, as in the online example) but omit the measures from the returned output.
For posterity sake, I'm running this on a mac running the mojave version of the OS. I've had Nat check this on his Linux machine and the output is the same as mine.
So, my question is: is the online documentation incorrect? Or is the context command not working properly? I would imagine that it would be a desirable feature to preserve the location (and verbatim output) of the measures when assembling spines? So I was a bit surprised that I couldn't get it to work -- this was not how I remembered it working. Any feedback welcome.
Claire