File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5656# the built documents.
5757#
5858# The short X.Y version.
59- version = "1.2.6 "
59+ version = "1.2.7 "
6060# The full version, including alpha/beta/rc tags.
61- release = "1.2.6 "
61+ release = "1.2.7 "
6262
6363# The language for content autogenerated by Sphinx. Refer to documentation
6464# for a list of supported languages.
Original file line number Diff line number Diff line change @@ -802,12 +802,12 @@ def randomize_train_predict(
802802 return
803803
804804 cl_features_rand : FeatureDataset | None = None
805- if cl_features is not None :
805+ if cl_features is not None and view in cl_features . view_names :
806806 cl_features_rand = cl_features .copy ()
807807 cl_features_rand .randomize_features (view , randomization_type = randomization_type ) # type: ignore[union-attr]
808808
809809 drug_features_rand : FeatureDataset | None = None
810- if drug_features is not None :
810+ if drug_features is not None and view in drug_features . view_names :
811811 drug_features_rand = drug_features .copy ()
812812 drug_features_rand .randomize_features (view , randomization_type = randomization_type ) # type: ignore[union-attr]
813813
Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ def main(args) -> None:
305305 baselines = []
306306
307307 # NaiveMeanEffectsPredictor is always run as it is needed for evaluation
308- if "NaiveMeanEffectsPredictor" not in args . baselines :
308+ if "NaiveMeanEffectsPredictor" not in baselines :
309309 baselines .append (MODEL_FACTORY ["NaiveMeanEffectsPredictor" ])
310310
311311 # TODO Allow for custom randomization tests maybe via config file
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " drevalpy"
3- version = " 1.2.6 "
3+ version = " 1.2.7 "
44description = " Drug response evaluation of cancer cell line drug response models in a fair setting"
55authors = [" DrEvalPy development team" ]
66license = " GPL-3.0"
You can’t perform that action at this time.
0 commit comments