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
There are two related bugs to do with ResultsPath.
If ResultsPath is not specified in the config.yaml file, but listed in the datafile, the validation does not provide the correct error.
If the ResultsPath is specified in the config.yaml file, the type of the parameter (string) is not handled correctly by the validation.
Expected Behavior
The validation code should identify that ResultsPath is not listed (amply returns an error)
The validation code should handle parameters with a string type
Steps To Reproduce
a. Add ResultsPath := ./a/path/to/results to datafile called file_with_resultspath.txt
b. Run otoole convert datafile datafile file_with_resultspath.txt test.txt config.yaml
b. Add ResultsPath := ./a/path/to/results to datafile called file_with_resultspath.txt
c. Run otoole convert datafile datafile file_with_resultspath.txt test.txt config.yaml
Log output
ParseException: Expected end of text, found 'p' (at char 2069), (line:23, col:1) (at char 0), (line:1, col:1)
Operating System
MacOS
What version of otoole are you running?
1.1.2
Possible Solution
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
This can supersede issue #103. That issue describes adding ResultsPath to the now deprecated datapackage, but notes a similar issue in trying to use ResultsPath
The Issue
There are two related bugs to do with ResultsPath.
config.yaml
file, but listed in the datafile, the validation does not provide the correct error.config.yaml
file, the type of the parameter (string) is not handled correctly by the validation.Expected Behavior
Steps To Reproduce
a. Add
ResultsPath := ./a/path/to/results
to datafile calledfile_with_resultspath.txt
b. Run
otoole convert datafile datafile file_with_resultspath.txt test.txt config.yaml
a. Add entry to
config.yaml
file forResultsPath
b. Add
ResultsPath := ./a/path/to/results
to datafile calledfile_with_resultspath.txt
c. Run
otoole convert datafile datafile file_with_resultspath.txt test.txt config.yaml
Log output
ParseException: Expected end of text, found 'p' (at char 2069), (line:23, col:1) (at char 0), (line:1, col:1)
Operating System
MacOS
What version of otoole are you running?
1.1.2
Possible Solution
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: