Skip to content

Commit

Permalink
Update conjugate_map/conjCalcFunctions.py
Browse files Browse the repository at this point in the history
Improved syntax for output directory

Co-authored-by: Angeline Burrell <[email protected]>
  • Loading branch information
KCollins and aburrell authored Sep 16, 2024
1 parent 7902ced commit 443a67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conjugate_map/conjCalcFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def conjcalc(gdf, latname="GLAT", lonname="GLON", dtime=dt.datetime.now(tz=dt.ti

if is_saved:
filename = name + '_' + mode + '-' + method + '-' + str(dtime)
gdf.to_csv(directory + filename + '.csv') # save as .csv
gdf.to_csv(os.path.join(directory, ''.join([filename, '.csv']))) # save as .csv

return gdf

Expand Down

0 comments on commit 443a67a

Please sign in to comment.