jie1 commited on
Commit
ee366dc
1 Parent(s): 8c5f46d

Update ProteinMPNN-main/helper_scripts/parse_multiple_chains.py

Browse files
ProteinMPNN-main/helper_scripts/parse_multiple_chains.py CHANGED
@@ -141,8 +141,8 @@ def p_m_c(input_path, output_path, ca_only):
141
  my_dict['coords_chain_' + letter] = coords_dict_chain
142
  s += 1
143
  na = input.name
144
- print(na)
145
- fi = na.rfind("\\")
146
  my_dict['name'] = na[(fi + 1):(fi+5)]
147
  my_dict['num_of_chains'] = s
148
  my_dict['seq'] = concat_seq
 
141
  my_dict['coords_chain_' + letter] = coords_dict_chain
142
  s += 1
143
  na = input.name
144
+ # print(na)
145
+ fi = na.rfind("/")
146
  my_dict['name'] = na[(fi + 1):(fi+5)]
147
  my_dict['num_of_chains'] = s
148
  my_dict['seq'] = concat_seq