rtc2git
rtc2git copied to clipboard
InitialBaseLines not working correctly with a comma in the a baselinename
I couldn't get the way the InitialBaseLines
configuration to work, presumably because my baselines contain a comma. The code literally splits by comma in configuration.py
.
Configuration:
InitialBaseLines = my_component = "Baseline_#1,123"
My workaround:
Since I just have one component,
I removed the split on a comma in getinitialcomponentbaselines
Hi Len
Thanks for your report. I missed that case when I implemented that feature.
Need to do some brainstorming, how it could be implemented better.
I can imagine the tricky part is to stay backwards compatible with currently working configurations.
Otherwise I'd say: newlines are perhaps a bit safer.
Or - this would be my own choice - go with a more standard format (and parser) that supports mapping-like data (e.g. yaml
), so you don't need to bother about these kind of things.