ReadParameterXLSX() missing 1 required positional argument: 'ThisParProcMethod'
Hi
I am learning about ODYM.
When I tried to reproduce the result of example 6, I found that the variable "ThisParProcMethod" was missing when "In 6" called the "ReadParameterXLSX" function in the code.
If possible, could you give me some guidance on how to modify the code?Thank you very much.
HI @monk840 , this parameter codes a new interpolation feature that we added last year.
In oder to call the data parser withouth interplotion, please call the ReadParameterXLSX() function with ThisParProcMethod = ['none']:
... = ReadParameterXLSX(..., ThisParProcMethod = ['none'], ...) or ... = ReadParameterXLSX(..., ThisParProcMethod = 'none', ...)
One of the two should work!
Cheers, Stefan
Hi
I am experiencing the same problem, and it still reports an error after following your comments and making changes.
Could you give me some guidance on how to modify the code?
Thank you very much.
@liweijia001 the SyntaxError is correct; I believe you moved the arguments in your call to ReadParameterXLSX. Specifically, you pass the argument "ThiParProcMethod = 'none'" before passing other positional arguments (e.g. MasterClassification, IndexTable, etc.). We can see it when we compare your function call to line ~36 in the TypeError.
Try moving the keyword argument "ThisParProcMethod" at the end, right before ParseUncertainty = True.