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

Last updated