Skip to content

Commit

Permalink
Merge pull request #5 from blekhmanlab/develop
Browse files Browse the repository at this point in the history
Remove testing code
  • Loading branch information
jklynch authored Jun 28, 2020
2 parents f0b0aed + 4d64ae3 commit c0a58d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hominid/hominid.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ def group_snp_permutation(self):

def score_cv(self, y_true):
# test ValueError handling
if np.random.random() < 0.5:
raise ValueError("testing!")
# if np.random.random() < 0.5:
# raise ValueError("testing!")

validation_score_list = []
val_skf = sklearn.model_selection.StratifiedShuffleSplit(
Expand Down

0 comments on commit c0a58d6

Please sign in to comment.