Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DITB
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DISCO Beamline
DITB
Commits
201989b0
Commit
201989b0
authored
Mar 11, 2024
by
Hugo CHAUVET
Browse files
Options
Downloads
Patches
Plain Diff
add sys.exit
parent
60bc3c5b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ditb/io/metadata.py
+3
-3
3 additions, 3 deletions
ditb/io/metadata.py
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
with
4 additions
and
4 deletions
ditb/io/metadata.py
+
3
−
3
View file @
201989b0
...
...
@@ -11,7 +11,7 @@ import dask.bag as db
from
dask.diagnostics
import
ProgressBar
from
IPython.display
import
JSON
import
re
import
os
import
sys
try
:
import
orjson
as
json
...
...
@@ -253,7 +253,7 @@ def list_images(full_metadata: dict, roi=None):
unique_file_names
[
i
,
t
,
c
,
z
]
=
nn
else
:
print
(
f
"
No
{
nn
}
in metadata
"
)
os
.
break
(
1
)
sys
.
exit
(
)
return
unique_file_names
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
201989b0
...
...
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name
=
"DITB"
version
=
"20240311rc1
0
"
version
=
"20240311rc1
1
"
readme
=
"README.md"
requires-python
=
">
=
3.11
"
authors
=
[
{
name
=
"Hugo Chauvet"
,
email
=
"hugo.chauvet@synchrotron-soleil.fr"
}
]
...
...
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