You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sample meta validate input:
Code is removing leading and tailing spaces when validating file paths, but kept them in the output. Downstream process of the output should be aware of this.
The text was updated successfully, but these errors were encountered:
@byb121 , can you provide an example causing this to occur. Unless the file path has been quoted I would expect the shell to remove additional whitespace.
The code takes whatever in the input file and dump them into the output, then adds more columns. When calling shell commands, the code removes leading/tailing whitespaces. So validation won't raise an error, but the output will have those whitespaces kept.
I use python code to take the file paths from the output and subprocess to call shell commands, and it does not tolerate tailing spaces. I think subprocess unfortunately does quote commands.
I'll fix it next week.
byb121
changed the title
Sample meta validate input: leading or trailing spaces in file paths are kept in output, error should be raised or remove spaces
Sample meta validate input: leading or tailing spaces in file paths are kept in output, error should be raised or remove spaces
Jul 19, 2017
Sample meta validate input:
Code is removing leading and tailing spaces when validating file paths, but kept them in the output. Downstream process of the output should be aware of this.
The text was updated successfully, but these errors were encountered: