gabboud commited on
Commit
1601881
·
1 Parent(s): 31f1113

fix gr update of subprocess error message

Browse files
Files changed (1) hide show
  1. utils/pipelines.py +2 -1
utils/pipelines.py CHANGED
@@ -165,4 +165,5 @@ def generation_with_input_config(input_file, pdb_file, num_batches, num_designs_
165
  return gr.update(value="Generation Successful"), directory, results
166
 
167
  except subprocess.CalledProcessError as e:
168
- return gr.update(f"Subprocess error:\n{e.stderr}"), None, None
 
 
165
  return gr.update(value="Generation Successful"), directory, results
166
 
167
  except subprocess.CalledProcessError as e:
168
+ print("subprocess threw an error", e.stderr)
169
+ return gr.update(value=f"Subprocess error:\n{e.stderr}"), None, None