mt_obj = MT('an_edi_file.edi')
mt_obj.write_mt_file(fn_basename='new_edi_file.edi')
# writes an edi file to disk as 'new_edi_file.edi'
current behavior:
mt_obj = MT('an_edi_file.edi')
mt_obj.write_mt_file(fn_basename='new_edi_file.edi')
# writes an edi file to disk as '{station}.edi', regardless of what fn_basename is
expected behavior:
current behavior:
I believe the bug is coming from this line.