Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
drv850 committed Nov 4, 2024
1 parent 12ec6f1 commit 14daa72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GenNet_utils/Dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ def get_data(self, sample_pat=0):
xbatch = genotype_hdf.root.data[xbatchid,...]
xbatch = self.if_one_hot(xbatch)
ybatch = np.reshape(np.array(ybatch), (-1, 1))
ybatch = ybatch[xbatchid]
genotype_hdf.close()
return [xbatch, xcov], ybatch

Expand Down

0 comments on commit 14daa72

Please sign in to comment.