MSCEWI2028

Run file must contain python statements only.

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.

  • For more support, you can email us at [email protected] or post a message to our forums. If you have a contract for support with Mobilize.Net, reach out to your sales engineer and they can direct your support needs.