Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tomotools
Nabu
Commits
6a8581bb
Commit
6a8581bb
authored
Oct 30, 2020
by
Pierre Paleo
Browse files
Bugfixes
parent
e53ad0e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
nabu/resources/dataset_analyzer.py
View file @
6a8581bb
...
...
@@ -243,7 +243,7 @@ class HDF5DatasetAnalyzer(DatasetAnalyzer):
def
_compute_or_load_flats
(
self
):
h5_entry
=
self
.
entry
or
"entry"
h5_entry
=
self
.
hdf5_
entry
or
"entry"
h5_path
=
posixpath
.
join
(
h5_entry
,
"flat_field_images"
)
if
self
.
processes_file
is
None
:
lookup_files
=
None
...
...
nabu/utils.py
View file @
6a8581bb
...
...
@@ -65,7 +65,7 @@ def get_resource_file(filename, subfolder=None):
return
os
.
path
.
join
(
abspath
,
filename
)
def
is_writeable
(
fname
):
def
is_writeable
(
location
):
return
os
.
access
(
location
,
os
.
W_OK
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment