Skip to content

Commit

Permalink
Disentangled errlist_mod from forpy
Browse files Browse the repository at this point in the history
  • Loading branch information
rneder committed Jan 16, 2025
1 parent 7909694 commit e0ea506
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib_f90/lib_nx_read.f90
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ subroutine nx_read_scattering(infile, &
!character(kind=C_CHAR, len=:), allocatable :: dname
!
!
call forpy_start() ! If needed, start forpy
call forpy_start(ier_num) ! If needed, start forpy
!
ier_num = cast(p_infile, infile(1:len_trim(infile)) )
ier_num = tuple_create(p_args, 1)
Expand Down Expand Up @@ -464,7 +464,7 @@ subroutine nx_read_structure(python_script_dir, infile, unit_cell_lengths, unit_
/
!
!
call forpy_start() ! If needed, start forpy
call forpy_start(ier_num) ! If needed, start forpy
!
!write(*,*) ' INFILE >',infile(1:len_trim(infile)),'<'
ier_num = cast(p_infile, infile(1:len_trim(infile)) )
Expand Down
4 changes: 2 additions & 2 deletions lib_f90/lib_nx_write.f90
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ subroutine nx_write_scattering(outfile, program_version, author,
!
!
ier_num = 0
call forpy_start()
call forpy_start(ier_num)
!
!
ier_num = cast( p_outfile, outfile(1:len_trim(outfile)) )
Expand Down Expand Up @@ -386,7 +386,7 @@ subroutine nx_write_structure(python_script_dir, outfile, program_version, autho
!types_names_string =
!
ier_num = 0
call forpy_start()
call forpy_start(ier_num)
!
ier_num = cast( p_outfile, outfile(1:len_trim(outfile)) )
ier_num = cast( p_program, program_version(1:len_trim(program_version)) )
Expand Down

0 comments on commit e0ea506

Please sign in to comment.