jie1 commited on
Commit
72c7703
1 Parent(s): 787281f

Update ProteinMPNN-main/protein_mpnn_run.py

Browse files
ProteinMPNN-main/protein_mpnn_run.py CHANGED
@@ -57,7 +57,7 @@ def p_m_r(ca_only, path_to_model_weights, model_name, seed, save_score, save_pro
57
  else:
58
  file_path = os.path.realpath(__file__)
59
  # 改
60
- k = file_path.rfind("\\")
61
  if ca_only:
62
  model_folder_path = file_path[:k] + '/ca_model_weights/'
63
  else:
 
57
  else:
58
  file_path = os.path.realpath(__file__)
59
  # 改
60
+ k = file_path.rfind("/")
61
  if ca_only:
62
  model_folder_path = file_path[:k] + '/ca_model_weights/'
63
  else: