Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KM3io.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
common
KM3io.jl
Commits
24ab2299
Verified
Commit
24ab2299
authored
1 year ago
by
Tamas Gal
Browse files
Options
Downloads
Patches
Plain Diff
Make mode "r" default for H5File
parent
09d4c4b0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/hdf5/hdf5.jl
+1
-1
1 addition, 1 deletion
src/hdf5/hdf5.jl
test/hdf5.jl
+1
-1
1 addition, 1 deletion
test/hdf5.jl
with
2 additions
and
2 deletions
src/hdf5/hdf5.jl
+
1
−
1
View file @
24ab2299
...
...
@@ -40,7 +40,7 @@ struct H5File
_h5f
::
HDF5
.
File
_datasets
::
Dict
{
String
,
H5CompoundDataset
}
function
H5File
(
fname
::
AbstractString
,
mode
=
"
w
"
)
function
H5File
(
fname
::
AbstractString
,
mode
=
"
r
"
)
h5f
=
h5open
(
fname
,
mode
)
new
(
h5f
,
Dict
{
String
,
H5CompoundDataset
}())
end
...
...
This diff is collapsed.
Click to expand it.
test/hdf5.jl
+
1
−
1
View file @
24ab2299
...
...
@@ -11,7 +11,7 @@ end
fname
=
tempname
()
bars
=
[
Bar
(
x
,
x
*
2.1
)
for
x
∈
1
:
100
]
f
=
H5File
(
fname
)
f
=
H5File
(
fname
,
"w"
)
d
=
create_dataset
(
f
,
"bars"
,
Bar
;
cache_size
=
3
)
for
bar
∈
bars
push!
(
d
,
bar
)
...
...
This diff is collapsed.
Click to expand it.
Tamas Gal
@tgal
mentioned in commit
3ba20fd3
·
1 year ago
mentioned in commit
3ba20fd3
mentioned in commit 3ba20fd36c1f0a378d176fefcf6f8d65d590b4b0
Toggle commit list
Tamas Gal
@tgal
mentioned in commit
e3cf2067
·
1 year ago
mentioned in commit
e3cf2067
mentioned in commit e3cf2067b0d4f1d6959021493fb28ee6b55f9f4b
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment