dealing with whitespace string as separator in dynamic options
Hello, I have a file with fixed-width columns and I would like to use the second column to populate a select list parameter. My problem is that the number of whitespaces changes depending on the content of the first column. Given that split is used in the underlying code, I wanted to give None as separator but I can't. If I put: <options from_dataset="input_file" separator="None"> it's the string "None" that is considered as the separator and if I write: <options from_dataset="input_file" separator=""> then the exception "Empty separator" is raised. Should I put something else to do what I want? If not, would it be possible to consider changing something in the code of dynamic_options.py such as replacing the empty string with None to let the split takes place for example? Thanks in advance, Sophie Creno
participants (1)
-
Sophie Creno