The new cycstub repo requires the user to search and replace instances of StubFacility, etc with their module name MyModuleName. Since this is tedious and crosses multiple files, a sed+bash script that does this would be simple and beneficial.
The input variable should be their model's name, MyModuleName, and the script should replace all instances of StubFacility, STUBFACILITY, etc. (or whatever) with such forms of MyModuleName.
The sed script should be kept in cycstub.
This is part of the story of issue cyclus/cyclus#257.
From cyclus/cyclus#293
The new cycstub repo requires the user to search and replace instances of StubFacility, etc with their module name MyModuleName. Since this is tedious and crosses multiple files, a sed+bash script that does this would be simple and beneficial. The input variable should be their model's name, MyModuleName, and the script should replace all instances of StubFacility, STUBFACILITY, etc. (or whatever) with such forms of MyModuleName.
The sed script should be kept in cycstub.
This is part of the story of issue cyclus/cyclus#257.