Skip to content

Commit

Permalink
fixed method name inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
bradtom committed Mar 25, 2024
1 parent 59e0014 commit 4480249
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydsm/create_cd_inp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pyhecdss

def create_dsm2_input_for_cd(dss_filename, dsm2_input_filename, file_field_string):
def create_cd_inp(dss_filename, dsm2_input_filename, file_field_string):
fout = open(dsm2_input_filename, 'w')
with pyhecdss.DSSFile(dss_filename) as d:
catdf = d.read_catalog()
Expand Down Expand Up @@ -54,7 +54,7 @@ def main():
dss_filename = r'e:/full_calibration_8_3/delta/dsm2_studies/timeseries/dcd_dsm2_mss1.dss'
dsm2_input_filename='e:/full_calibration_8_3/delta/dsm2_studies/timeseries/test.inp'
file_field_string = '${DICUFILE}'
create_dsm2_input_for_cd(dss_filename, dsm2_input_filename, file_field_string)
create_cd_inp(dss_filename, dsm2_input_filename, file_field_string)

if __name__ == "__main__":
main()

0 comments on commit 4480249

Please sign in to comment.