Skip to content

Commit

Permalink
Update kymata/io/yaml.py
Browse files Browse the repository at this point in the history
Co-authored-by: Cai <[email protected]>
  • Loading branch information
neukym and caiw authored Oct 29, 2023
1 parent 41d4042 commit a968302
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kymata/io/yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
def load_config_parameters(file_location: String):
'''Load config parameters'''
with open(file_location, "r") as stream:
try:
return yaml.safe_load(stream)
except yaml.YAMLError as exc:
print(exc)
return yaml.safe_load(stream)

0 comments on commit a968302

Please sign in to comment.