Skip to content

Commit

Permalink
Merge pull request #288 from NOAA-GFDL/singhd789-patch-1
Browse files Browse the repository at this point in the history
Fix print statement to reflect full path to combined yaml
  • Loading branch information
singhd789 authored Dec 9, 2024
2 parents 2a49f1d + c2cec0f commit 3e385f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fre/yamltools/combine_yamls.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def clean_yaml(self):
with open(self.combined,'w',encoding='UTF-8') as f:
yaml.safe_dump(full_yaml,f,default_flow_style=False,sort_keys=False)

print(f"Combined yaml located here: {os.path.dirname(self.combined)}/{self.combined}")
print(f"Combined yaml located here: {os.path.abspath(self.combined)}")
return self.combined

## PP CLASS ##
Expand Down Expand Up @@ -299,7 +299,7 @@ def clean_yaml(self):
with open(self.combined,'w') as f:
yaml.safe_dump(full_yaml,f,default_flow_style=False,sort_keys=False)

print(f"Combined yaml located here: {os.path.dirname(self.combined)}/{self.combined}")
print(f"Combined yaml located here: {os.path.abspath(self.combined)}")
return self.combined

## Functions to combine the yaml files ##
Expand Down

0 comments on commit 3e385f9

Please sign in to comment.