Skip to content
Snippets Groups Projects

remove is_file check for .h5 file in CoRe_h5 constructor

Open Florian Atteneder requested to merge fa/fix-core-h5 into master

Otherwise one can't instantiate a CoRe_h5 object with the defaults.

This makes the following lines from the watpy_wave.ipynb tutorial run

ch5 = CoRe_h5(bamsim['pre-release-folder']) # write .h5 to mysim['pre-release-folder'] ...
ch5.create(path=bamsim['pre-release-folder']) # ... all the CoRe .txt files in mysim['pre-release-folder']

Not 100% sure if that is the right fix.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
Please register or sign in to reply