Jump to content

Problems with regex quantifier in treefile connector


Recommended Posts

Posted

Hi,

treefile connector seems to have problems when using a regex quantifier like "\d{4,5}" inside CSV file. 

Error message:
value not one of declared Enum instance names: [Signal, Data, Condition, Scalar, Asset]

I think that the "," inside the quantifier is responsible for this and the columns for the evaluation of the configuration line are misinterpreted. I was able to work around this by using "\d\d\d\d\d?". Is there a way to specify another delimiter for the treefile connector to use when working with CSV files?

Regards, 

Thorsten

  • Seeq Team
Posted

Unfortunately that is a downside of the CSV configuration file format for the tree file connector at the moment. If you want to avoid your current workaround, I'd suggest using the JSON or YAML tree file configuration format instead.

 

Regards,

Steffen

  • Like 1
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...