Skip to content

Commit

Permalink
Fix Windows failure, hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobachetti committed Jan 25, 2023
1 parent e1b2176 commit 6051af6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ell1fit/create_parfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ def update_model(model, value_dict):
getattr(new_model, par).uncertainty_value = err
getattr(new_model, par).frozen = False

logging.info(new_model.as_parfile())
try:
# This fails on windows
logging.info(new_model.as_parfile())
except Exception as e:
print(e)
pass
return new_model


Expand Down

0 comments on commit 6051af6

Please sign in to comment.