Rename GANDLF submodule to GANDLF_module to prevent conflicting imports inside of the fets folder
Use sys.path.append('./OpenFederatedLearning/submodules/fets_ai/Algorithms/') in files which require imports from the fets module
Use sys.path.append('./OpenFederatedLearning/submodules/fets_ai/Algorithms/GANDLF_module') in files which require imports from the GANDLF module
Potential Breaking Changes
This PR requires users to run FeTS CLI programs (such as FeTS_CLI_Inference) from their ${fets_root_dir}/bin directory. This limitation could be addressed in a future PR by playing with the __init__.py files in each of the modules, thereby eliminating the need to append modules to the system path.
Proposed Changes
GANDLF
submodule toGANDLF_module
to prevent conflicting imports inside of thefets
foldersys.path.append('./OpenFederatedLearning/submodules/fets_ai/Algorithms/')
in files which require imports from thefets
modulesys.path.append('./OpenFederatedLearning/submodules/fets_ai/Algorithms/GANDLF_module')
in files which require imports from theGANDLF
modulePotential Breaking Changes
__init__.py
files in each of the modules, thereby eliminating the need to append modules to the system path.Contact
Email (work): gamble.cooper@mayo.edu Email (personal): gamble.cooper23@gmail.com