Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
deep_odf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
evaca
code
deep_odf
Commits
3f2d802d
Commit
3f2d802d
authored
2 years ago
by
e.vaca.cerda
Browse files
Options
Downloads
Patches
Plain Diff
change h5pickle to h5py
parent
93394a9c
No related branches found
Branches containing commit
Tags
0.5.13
Tags containing commit
No related merge requests found
Pipeline
#65223
failed
2 years ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deep_odf/datasets/general/filehandler.py
+1
-1
1 addition, 1 deletion
deep_odf/datasets/general/filehandler.py
with
1 addition
and
1 deletion
deep_odf/datasets/general/filehandler.py
+
1
−
1
View file @
3f2d802d
...
...
@@ -160,8 +160,8 @@ def _get_file_handler_by_extension(file_name, base_root: Union[str, h5py.File] =
elif
isinstance
(
base_root
,
str
):
if
base_root
.
endswith
((
"
h5
"
,
"
hdf5
"
)):
h5
=
h5py
.
File
(
file_name
,
"
r
"
,
rdcc_nbytes
=
0
)
# h5 = open_h5(base_root, "r")
h5
=
h5py
.
File
(
file_name
,
"
r
"
,
rdcc_nbytes
=
0
)
file_handler
=
h5
[
file_name
]
else
:
...
...
This diff is collapsed.
Click to expand it.
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