Skip to content

Commit

Permalink
better place for .lower on prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wes Kitlasten committed Nov 9, 2023
1 parent d650683 commit 2854974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyemu/utils/pst_from.py
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ def add_observations(

if len(nprefix) == 0:
nprefix = filenames[0]
nprefix = "oname:{0}_otype:lst".format(nprefix)
nprefix = "oname:{0}_otype:lst".format(nprefix.lower())
df_ins = pyemu.pst_utils.csv_to_ins_file(
df.set_index("idx_str"),
ins_filename=self.new_d / insfile,
Expand All @@ -1575,7 +1575,7 @@ def add_observations(
marker="~",
includes_header=includes_header,
includes_index=False,
prefix=nprefix.lower(),
prefix=nprefix,
head_lines_len=lenhead,
sep=sep,
gpname=obsgp,
Expand Down

0 comments on commit 2854974

Please sign in to comment.