Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
thangckt committed May 27, 2024
1 parent 86da74b commit 2134ea1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions dpgen/data/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ def run_vasp_relax(jdata, mdata):
### Submit the jobs
if Version(mdata.get("api_version", "1.0")) < Version("1.0"):

Check warning on line 1162 in dpgen/data/gen.py

View check run for this annotation

Codecov / codecov/patch

dpgen/data/gen.py#L1162

Added line #L1162 was not covered by tests
raise RuntimeError(
"Your API version is no longer supported. Please upgrade to version 1.0 or newer."
"API version below 1.0 is no longer supported. Please upgrade to version 1.0 or newer."
)

submission = make_submission(

Check warning on line 1167 in dpgen/data/gen.py

View check run for this annotation

Codecov / codecov/patch

dpgen/data/gen.py#L1167

Added line #L1167 was not covered by tests
Expand Down Expand Up @@ -1300,7 +1300,7 @@ def run_abacus_relax(jdata, mdata):
### Submit the jobs
if Version(mdata.get("api_version", "1.0")) < Version("1.0"):

Check warning on line 1301 in dpgen/data/gen.py

View check run for this annotation

Codecov / codecov/patch

dpgen/data/gen.py#L1301

Added line #L1301 was not covered by tests
raise RuntimeError(
"Your API version is no longer supported. Please upgrade to version 1.0 or newer."
"API version below 1.0 is no longer supported. Please upgrade to version 1.0 or newer."
)

submission = make_submission(

Check warning on line 1306 in dpgen/data/gen.py

View check run for this annotation

Codecov / codecov/patch

dpgen/data/gen.py#L1306

Added line #L1306 was not covered by tests
Expand Down Expand Up @@ -1361,7 +1361,7 @@ def run_vasp_md(jdata, mdata):
### Submit the jobs
if Version(mdata.get("api_version", "1.0")) < Version("1.0"):

Check warning on line 1362 in dpgen/data/gen.py

View check run for this annotation

Codecov / codecov/patch

dpgen/data/gen.py#L1362

Added line #L1362 was not covered by tests
raise RuntimeError(
"Your API version is no longer supported. Please upgrade to version 1.0 or newer."
"API version below 1.0 is no longer supported. Please upgrade to version 1.0 or newer."
)

submission = make_submission(

Check warning on line 1367 in dpgen/data/gen.py

View check run for this annotation

Codecov / codecov/patch

dpgen/data/gen.py#L1367

Added line #L1367 was not covered by tests
Expand Down Expand Up @@ -1437,7 +1437,7 @@ def run_abacus_md(jdata, mdata):
### Submit the jobs
if Version(mdata.get("api_version", "1.0")) < Version("1.0"):

Check warning on line 1438 in dpgen/data/gen.py

View check run for this annotation

Codecov / codecov/patch

dpgen/data/gen.py#L1438

Added line #L1438 was not covered by tests
raise RuntimeError(
"Your API version is no longer supported. Please upgrade to version 1.0 or newer."
"API version below 1.0 is no longer supported. Please upgrade to version 1.0 or newer."
)

submission = make_submission(

Check warning on line 1443 in dpgen/data/gen.py

View check run for this annotation

Codecov / codecov/patch

dpgen/data/gen.py#L1443

Added line #L1443 was not covered by tests
Expand Down
6 changes: 3 additions & 3 deletions dpgen/generator/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ def run_train(iter_index, jdata, mdata):
### Submit the jobs
if Version(mdata.get("api_version", "1.0")) < Version("1.0"):
raise RuntimeError(
"Your API version is no longer supported. Please upgrade to version 1.0 or newer."
"API version below 1.0 is no longer supported. Please upgrade to version 1.0 or newer."
)

submission = make_submission(
Expand Down Expand Up @@ -2097,7 +2097,7 @@ def run_md_model_devi(iter_index, jdata, mdata):
### Submit the jobs
if Version(mdata.get("api_version", "1.0")) < Version("1.0"):
raise RuntimeError(
"Your API version is no longer supported. Please upgrade to version 1.0 or newer."
"API version below 1.0 is no longer supported. Please upgrade to version 1.0 or newer."
)

submission = make_submission(
Expand Down Expand Up @@ -3966,7 +3966,7 @@ def run_fp_inner(
### Submit the jobs
if Version(mdata.get("api_version", "1.0")) < Version("1.0"):

Check warning on line 3967 in dpgen/generator/run.py

View check run for this annotation

Codecov / codecov/patch

dpgen/generator/run.py#L3967

Added line #L3967 was not covered by tests
raise RuntimeError(
"Your API version is no longer supported. Please upgrade to version 1.0 or newer."
"API version below 1.0 is no longer supported. Please upgrade to version 1.0 or newer."
)

submission = make_submission(

Check warning on line 3972 in dpgen/generator/run.py

View check run for this annotation

Codecov / codecov/patch

dpgen/generator/run.py#L3972

Added line #L3972 was not covered by tests
Expand Down
2 changes: 1 addition & 1 deletion dpgen/simplify/simplify.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def run_model_devi(iter_index, jdata, mdata):
### Submit the jobs
if Version(mdata.get("api_version", "1.0")) < Version("1.0"):
raise RuntimeError(
"Your API version is no longer supported. Please upgrade to version 1.0 or newer."
"API version below 1.0 is no longer supported. Please upgrade to version 1.0 or newer."
)

submission = make_submission(
Expand Down

0 comments on commit 2134ea1

Please sign in to comment.