ModECI / MDF

This repository contains the source for the MDF specification and Python API
https://mdf.readthedocs.io
Apache License 2.0
36 stars 69 forks source link

Added import os in examples/MDF/simple.py #510

Closed sandeepB3 closed 8 months ago

sandeepB3 commented 9 months ago

In examples/MDF/simple.py, the line 94 and 104, shows the warning: "os" is not defined. The line is executed when we run the script simple.py with the -graph argument and the script will error the os.name with name 'os' is not defined.

Part of this discussion: #200 Link to: discussion comment.

pgleeson commented 8 months ago

Thanks for this fix @sandeepB3! I've changed it to a pull request to the development branch, as that is the place with the latest version, which will be merged to the main branch when there is a new stable release.