@@ -447,10 +447,10 @@ def print_displacement_stdout(disp_list, codeobj):
447447 args = parser .parse_args ()
448448
449449 if not args .print_disp_stdout :
450- print ("\n " + "=" * 70 )
450+ print ("\n " + "=" * 70 )
451451 print (" displace.py -- Generator of Displaced Configurations" )
452452 print (" Version 1.3.0" )
453- print ("=" * 70 )
453+ print ("=" * 70 )
454454
455455 code , file_original , struct_format , str_outfiles = check_code_options (args )
456456 displacement_mode = check_displace_options (args , code )
@@ -459,18 +459,18 @@ def print_displacement_stdout(disp_list, codeobj):
459459 codeobj .load_initial_structure (file_original )
460460
461461 if not args .print_disp_stdout :
462- print ("\n " + "-" * 70 )
462+ print ("\n " + "-" * 70 )
463463 print (" Input Configuration" )
464- print ("-" * 70 )
464+ print ("-" * 70 )
465465 print (f" { 'Code format' :<30} : { code } " )
466466 print (f" { 'Output format' :<30} : { struct_format } " )
467467 print (f" { 'Reference structure' :<30} : { file_original } " )
468468 print (f" { 'Number of atoms' :<30} : { codeobj .nat } " )
469-
469+
470470 # Add displacement mode information
471- print ("\n " + "-" * 70 )
471+ print ("\n " + "-" * 70 )
472472 print (" Displacement Mode" )
473- print ("-" * 70 )
473+ print ("-" * 70 )
474474 if displacement_mode == "fd" :
475475 print (" Finite Difference" )
476476 print (f" { 'Displacement magnitude' :<30} : { args .mag } Å" )
@@ -500,7 +500,7 @@ def print_displacement_stdout(disp_list, codeobj):
500500 print (f" { 'Target mode (iq, imode)' :<30} : { args .pes } " )
501501 if args .Qrange :
502502 print (f" { 'Q range' :<30} : { args .Qrange } " )
503-
503+
504504 if args .num_disp :
505505 print (f" { 'Number of displacements' :<30} : { args .num_disp } " )
506506 if args .random_seed is not None :
@@ -511,16 +511,16 @@ def print_displacement_stdout(disp_list, codeobj):
511511 )
512512
513513 if not args .print_disp_stdout :
514- print ("\n " + "-" * 70 )
514+ print ("\n " + "-" * 70 )
515515 print (" Output Information" )
516- print ("-" * 70 )
516+ print ("-" * 70 )
517517 print (f" { 'Number of displacements' :<30} : { len (disp_list )} " )
518518 print (f" { 'Output file pattern' :<30} : { str_outfiles } " )
519- print ("-" * 70 )
519+ print ("-" * 70 )
520520 codeobj .generate_structures (
521521 args .prefix , header_list , disp_list , updated_structure
522522 )
523523 print (f"\n ✓ Successfully created { len (disp_list )} displaced structure files." )
524- print ("=" * 70 + "\n " )
524+ print ("=" * 70 + "\n " )
525525 else :
526526 print_displacement_stdout (disp_list , codeobj )
0 commit comments