@@ -277,7 +277,7 @@ def convert_ff_log_to_json(self):
277277 df = bonds_df [["quality" , "level_2" , "level_3" ]]
278278 df .columns = ["comment" , "level_2" , "level_3" ]
279279 del bonds_df ["quality" ]
280- bonds_df = bonds_df . append ( df )
280+ bonds_df = pd . concat ([ bonds_df , df ], ignore_index = True )
281281 bonds_df .columns = ["Bond" , "K" , "r" ]
282282 bonds_df = bonds_df .join (
283283 bonds_df ["Bond" ]
@@ -328,7 +328,7 @@ def convert_ff_log_to_json(self):
328328 df = angles_df [["quality" , "level_3" , "Bending" ]]
329329 df .columns = ["comment" , "level_3" , "Bending" ]
330330 del angles_df ["quality" ]
331- angles_df = angles_df . append ( df )
331+ angles_df = pd . concat ([ angles_df , df ], ignore_index = True )
332332 angles_df .columns = ["Angle" , "K" , "Theta" ]
333333 angles_df = angles_df .join (
334334 angles_df ["Angle" ]
@@ -388,7 +388,7 @@ def convert_ff_log_to_json(self):
388388 df = dihedrals_df [["quality" , "proper" , "Torsion" , "V1" , "V2" ]]
389389 df .columns = ["comment" , "proper" , "Torsion" , "V1" , "V2" ]
390390 del dihedrals_df ["quality" ]
391- dihedrals_df = dihedrals_df . append ( df )
391+ dihedrals_df = pd . concat ([ dihedrals_df , df ], ignore_index = True )
392392 dihedrals_df .columns = ["Dihedral" , "V1" , "V2" , "V3" , "V4" ]
393393 dihedrals_df = dihedrals_df .join (
394394 dihedrals_df ["Dihedral" ]
0 commit comments