Skip to content

Commit

Permalink
bugfix : issue mentioned by @jlenain in #82.
Browse files Browse the repository at this point in the history
Now the read of a container will always return a generator,
which can be ciomposed by only one item.
  • Loading branch information
guillaume.grolleron committed Jan 15, 2024
1 parent 9035730 commit a233bb9
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 89 deletions.
3 changes: 1 addition & 2 deletions notebooks/tool_implementation/tuto_tools.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,7 @@
" filename = f\"{self.name}_run{self.run_number}.h5\"\n",
" else : \n",
" filename = f\"{self.name}_run{self.run_number}_maxevents{self.max_events}.h5\"\n",
" self.output_path = pathlib.Path(f\"{os.environ.get('NECTARCAMDATA','/tmp')}/tutorials/{filename}\")\n",
" os.makedirs(self.output_path.parent,exist_ok = True)"
" self.output_path = pathlib.Path(f\"{os.environ.get('NECTARCAMDATA','/tmp')}/tutorials/{filename}\")"
]
},
{
Expand Down
Loading

0 comments on commit a233bb9

Please sign in to comment.