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
nomad-lab
cpp_sisso
Commits
8267333c
Commit
8267333c
authored
Sep 15, 2021
by
Thomas Purcell
Browse files
Check max_rung is None not if it returns false
If max_rung==0 is not None
parent
2834505a
Pipeline
#109978
failed with stages
in 60 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/python/py_interface/import_dataframe.py
View file @
8267333c
...
...
@@ -140,7 +140,7 @@ def read_csv(
max_rung
=
inputs
.
max_rung
else
:
inputs_out
=
Inputs
()
if
not
max_rung
:
if
max_rung
is
None
:
raise
ValueError
(
"Maximum rung for the calculation is not defined."
)
# Load csv file
...
...
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