Skip to content

Commit

Permalink
engine is openpyxl
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Linden committed Jun 3, 2024
1 parent 27d025e commit 557948d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sandy/core/cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def sampling(self, nsmp, seed=None, pdf='lognormal', relative=True,

# -- Save seed and singulare values
if to_excel:
with pd.ExcelWriter(to_excel, mode='w') as writer:
with pd.ExcelWriter(to_excel, mode='w', engine='openpyxl') as writer:
pd.Series(seed_).to_excel(writer, header=None, index=None, sheet_name='SEED')
pd.Series(Sr).to_excel(writer, header=None, index=None, sheet_name='SVALUES')

Expand Down

0 comments on commit 557948d

Please sign in to comment.