MSCEWI2028
Run file must contain python statements only.
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Low
Description
This warning appears when a .run file BTEQ statement is migrated. Just to clarify that the code inside the file must be written in Python
.
Code Example
Input Code:
.run file "${SCRIPTDIR}/run_file.txt";
Output Code:
#** MSC-WARNING - MSCEWI2028 - RUN FILE MUST CONTAIN PYTHON STATEMENTS ONLY **
for statement in snowconvert_helpers.readrun("${SCRIPTDIR}/run_file.txt"):
eval(statement)
Recommendations
Verify if the file used by the
.run
statement is written in Python.If you need more support, you can email us at [email protected]
Last updated