You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a bug related to the "alternate location", in which the previous code only chose the " " and "A". However, some residues with "alternate locations" that contain " ", "B" and "C", without "A". Therefore, the previous code missing some atoms in the residues.
The text was updated successfully, but these errors were encountered:
This bug has fixed by using groupby(). groups = pdb_info.groupby(['Seq_Num', 'ChainID'], sort=False) pdb_info = groups.apply(lambda x: x.drop_duplicates(subset=["AtomTyp"], keep='first') if len(groups['Alt_Loc']) >= 2 else x)
there is a bug related to the "alternate location", in which the previous code only chose the " " and "A". However, some residues with "alternate locations" that contain " ", "B" and "C", without "A". Therefore, the previous code missing some atoms in the residues.
The text was updated successfully, but these errors were encountered: