Xin Luo commited on
Commit
7f22d0d
·
1 Parent(s): 392afe9
Files changed (1) hide show
  1. func_gradio.py +1 -1
func_gradio.py CHANGED
@@ -40,7 +40,7 @@ class defaultArg:
40
 
41
  def run_epcotv2(chrom : int, start : int, end : int, user_modalities: list, atac_pickle_file) -> IO[bytes]:
42
  if atac_pickle_file is None:
43
- gradio.Error("ATAC-seq pickle file not loaded!")
44
 
45
  device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
46
  args = defaultArg()
 
40
 
41
  def run_epcotv2(chrom : int, start : int, end : int, user_modalities: list, atac_pickle_file) -> IO[bytes]:
42
  if atac_pickle_file is None:
43
+ raise gradio.Error("ATAC-seq pickle file not loaded!")
44
 
45
  device = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
46
  args = defaultArg()