Closed LukasMut closed 2 years ago
This does not seem to be necessary if we resolve issue #89.
I think its still necessary, if we continue allowing users to extract features for individual network modules (which I also think we should do)
@andropar I agree.
We should add a function that checks the validity of
module_name
(i.e., is the user-specified module name a valid module that exists?) before feature extraction starts. Else, the feature extraction method will raise aKeyError
after the first iteration which is probably fine but definitely not great. I am thinking about something along the lines ofwhich is supposed to be evaluated prior to executing the main feature extraction loop. Therefore, this should probably be evaluated in
extractor.extract_features(...)
.