thewall commited on
Commit
bb7fcb4
·
1 Parent(s): 87859f7

Update deepbind.py

Browse files
Files changed (1) hide show
  1. deepbind.py +1 -1
deepbind.py CHANGED
@@ -143,7 +143,7 @@ class DeepBind(nn.Module):
143
  if file is None:
144
  config = datasets.load_dataset(path="thewall/deepbindweight", split="all")
145
  if ID is None:
146
- data = pd.read_excel(config[0]['table'], index_col=0)
147
  ID = data.loc[sra_id]["ID"]
148
  file = datasets.load_dataset(path="thewall/deepbindweight", name=ID, split="all")[0]['config']
149
  keys = [("reverse_complement", lambda x:bool(eval(x))), ("num_detectors", int), ("detector_len", int),
 
143
  if file is None:
144
  config = datasets.load_dataset(path="thewall/deepbindweight", split="all")
145
  if ID is None:
146
+ data = pd.read_excel(config[0]['selex'], index_col=0)
147
  ID = data.loc[sra_id]["ID"]
148
  file = datasets.load_dataset(path="thewall/deepbindweight", name=ID, split="all")[0]['config']
149
  keys = [("reverse_complement", lambda x:bool(eval(x))), ("num_detectors", int), ("detector_len", int),