makeDraftModule
This script is used to create a Basilisk module folder given the basic I/O and naming information.
Modify either
fillCppInfo()orfillCInfo()to contain the desired information for the new BSK module.edit the
__main__routine at the end of the file to call the desired module type withcreateCppModule()orcreateCModule.run the script from the command line using
python3 makeDraftModule.py
- makeDraftModule.fillCInfo(module)[source]
Fill in the C module information. This should be edited before running to meet the new module needs.
- makeDraftModule.fillCppInfo(module)[source]
Fill in the C++ module information. This should be edited before running to meet the new module needs.
- class makeDraftModule.moduleGenerator[source]
Bases:
objectclass to generate draft Basilisk modules
- checkPathToNewFolderLocation()[source]
Check the destination parent without changing the working directory.
- createRstFile(moduleType)[source]
Write the rendered documentation into the active staging directory.