Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
workflow
ewoksapps
est
Commits
bac7880a
Commit
bac7880a
authored
Jul 22, 2021
by
payno
Browse files
[io] improve raise error message
parent
741be054
Changes
1
Hide whitespace changes
Inline
Side-by-side
est/io/io.py
View file @
bac7880a
...
...
@@ -244,7 +244,7 @@ def read_xas(information, timeout=settings.DEFAULT_READ_TIMEOUT):
url_
=
DataUrl
(
file_path
=
url_
,
scheme
=
"PyMca"
)
if
not
isinstance
(
url_
,
DataUrl
):
raise
TypeError
(
"given input for
,
{} is invalid"
.
format
(
name
))
raise
TypeError
(
"given input for {} is invalid
({})
"
.
format
(
name
,
url_
))
return
url_
_spectra_url
=
get_url
(
original_url
=
information
.
spectra_url
,
name
=
"spectra"
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment