When developing it is sometimes nice to skip user steps.
I noticed I was always skipping the selection of module (e.g. MAPI_Rubrene_DBP)
Thought about a way to skip that with an easily repeatable command line argument "module":
python main.py --module="MAPI-Rubrene/DBP"
Where the options are:
"Standard One-Layer"
"Nanowire"
"MAPI-Rubrene/DBP"
EDIT: changed the options from 0, 1, 2 to the original titles given to the modules. A little more work on the CLI command setup, but more elegant code and less prone to errors.
Would have extended with an argument "--tab" for choosing the default notebook Tab:
0 = Inputs
1 = Simulate
2 = Analyze
but I dont know yet how to manually trigger the change to the chosen tab. It would be somewhere here in the code:
When developing it is sometimes nice to skip user steps. I noticed I was always skipping the selection of module (e.g. MAPI_Rubrene_DBP)
Thought about a way to skip that with an easily repeatable command line argument "module":
python main.py --module="MAPI-Rubrene/DBP"
Where the options are: "Standard One-Layer" "Nanowire" "MAPI-Rubrene/DBP" EDIT: changed the options from 0, 1, 2 to the original titles given to the modules. A little more work on the CLI command setup, but more elegant code and less prone to errors.Would have extended with an argument "--tab" for choosing the default notebook Tab: 0 = Inputs 1 = Simulate 2 = Analyze but I dont know yet how to manually trigger the change to the chosen tab. It would be somewhere here in the code: