Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tomwer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
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
tomotools
tomwer
Commits
3f6afc1f
Commit
3f6afc1f
authored
3 years ago
by
payno
Browse files
Options
Downloads
Patches
Plain Diff
black format
parent
1c31d57b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tomwer/core/process/control/datatransfert.py
+9
-3
9 additions, 3 deletions
tomwer/core/process/control/datatransfert.py
tomwer/core/process/reconstruction/nabu/utils.py
+3
-1
3 additions, 1 deletion
tomwer/core/process/reconstruction/nabu/utils.py
with
12 additions
and
4 deletions
tomwer/core/process/control/datatransfert.py
+
9
−
3
View file @
3f6afc1f
...
...
@@ -295,10 +295,16 @@ class FolderTransfert(SingleProcess):
patterns
=
[
"
*.par
"
,
"
*.cfg
"
,
"
*.rec
"
,
"
nabu_cfg_files
"
]
# manage .par, .cfg and .rec files if any
patterns
+=
[
"
*slice*
"
,
]
patterns
+=
[
"
*slice*
"
,
]
# manage *slice*.hdf5 and *slice*.edf files (reconstructed slice)
patterns
+=
[
"
*tomwer_processes.h5
"
,
"
*nabu_processes.hdf5
"
,
"
saaxis_results
"
,
"
sadeltabeta_results
"
]
patterns
+=
[
"
*tomwer_processes.h5
"
,
"
*nabu_processes.hdf5
"
,
"
saaxis_results
"
,
"
sadeltabeta_results
"
,
]
# files storing processes steps
def
match_pattern
(
file_name
):
...
...
This diff is collapsed.
Click to expand it.
tomwer/core/process/reconstruction/nabu/utils.py
+
3
−
1
View file @
3f6afc1f
...
...
@@ -213,7 +213,9 @@ def get_recons_urls(
output_file_names
=
[]
if
slice_index
is
None
and
start_z
is
None
and
end_z
is
None
:
output_file
=
(
os
.
path
.
join
(
location
,
file_prefix
,
file_prefix
)
+
"
.
"
+
output_extension
os
.
path
.
join
(
location
,
file_prefix
,
file_prefix
)
+
"
.
"
+
output_extension
)
output_file_names
.
append
(
output_file
)
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