rtc2git icon indicating copy to clipboard operation
rtc2git copied to clipboard

InitialBaseLines not working correctly with a comma in the a baselinename

Open lenntt opened this issue 7 years ago • 2 comments

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

lenntt avatar Aug 07 '17 08:08 lenntt

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.

WtfJoke avatar Aug 08 '17 13:08 WtfJoke

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.

lenntt avatar Aug 08 '17 13:08 lenntt