Fix bug of single precision transfer#1111
Merged
amcadmus merged 1 commit intodeepmodeling:develfrom Sep 7, 2021
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## devel #1111 +/- ##
==========================================
- Coverage 75.62% 74.37% -1.26%
==========================================
Files 88 88
Lines 7012 6996 -16
==========================================
- Hits 5303 5203 -100
- Misses 1709 1793 +84
Continue to review full report at Codecov.
|
njzjz
approved these changes
Sep 6, 2021
amcadmus
approved these changes
Sep 7, 2021
njzjz
added a commit
to njzjz/deepmd-kit
that referenced
this pull request
Sep 21, 2023
When turning on the merge_traj function, if the procedure is interrupted in the run_model_devi stage, the old trajectory file will be overwritten after it is rerun. The incomplete trajectory file will cause the following error in the next post_model_devi stage: `.../site-packages/dpdata/lammps/dump.py:176: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. system['coords'] = np.array(system['coords']) DeepModeling ` This PR repaired this question. --------- Signed-off-by: kiwi <46419582+wankiwi@users.noreply.github.com> Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> Co-authored-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The same problem as #1110.