Skip to content

Commit

Permalink
Add blank line after NRRD header
Browse files Browse the repository at this point in the history
The NRRD format specification requires the header to be separated by a blank line from the data.
  • Loading branch information
Pavol Klacansky committed Mar 3, 2024
1 parent 8390075 commit 7e59660
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generate_website.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def generate_nhrd_files(datasets: dict):
encoding: raw
space origin: (-{dataset['spacing'][0]*dataset['size'][0]/2},-{dataset['spacing'][1]*dataset['size'][1]/2},-{dataset['spacing'][2]*dataset['size'][2]/2})
data file: {pathlib.Path(dataset['url']).name}
''') # must end with a newline (otherwise ParaView hangs)
''') # NRRD format requires a single empty line after the header



Expand Down

0 comments on commit 7e59660

Please sign in to comment.