Closed esnguyenvan closed 1 year ago
Agreed. Relative imports are the right thing to do here.
Same applies for wing and horizontal tail.
I can do the modifications at the same time than takeoff enhancements, which I'm currently working on
Actually, I realize that incoming changes in code organisation should make this change unavoidable anyway, so don't bother too much with that.
Models have been moved to FAST-OAD_CS25 repo, and imports have been modified BTW.
For example in the component compute VT :
What are the reasons for using global imports while the lower modules ComputeVTChords, etc... are readily available through a relative import?
I imagine a case where someone would like to register a new VT module. Personally, I would start by copying the whole 'vt' folder and register it as a new submodule. I would then modify the lower modules ComputeVTChords, etc... and finally I will have to change from global imports to relative imports for the changes to actually take place. This last step may a be source of confusion if ones expects from a custom module to strictly use the submodules it contains.