-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #523 from deepmodeling/devel
Merge devel into master
- Loading branch information
Showing
46 changed files
with
1,354 additions
and
486 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,5 @@ jobs: | |
ORGANIZATION: deepmodeling | ||
SSH_PRIVATE_KEY: ${{ secrets.SYNC_GITEE_PRIVATE_KEY }} | ||
with: | ||
source-repo: "git@github.com:deepmodeling/dpgen.git" | ||
source-repo: "https://github.com/deepmodeling/dpgen.git" | ||
destination-repo: "[email protected]:deepmodeling/dpgen.git" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: release_conda_and_github | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
publish-conda: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: publish-to-conda | ||
uses: felix5572/[email protected] | ||
with: | ||
subdir: 'conda' | ||
anacondatoken: ${{ secrets.ANACONDA_TOKEN }} | ||
platforms: 'noarch' | ||
construct-and-publish: | ||
runs-on: ubuntu-latest | ||
needs: conda-publish | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: s-weigand/setup-conda@v1 | ||
- run: conda install constructor jinja2 -y | ||
- run: constructor ./conda | ||
- name: Upload to release | ||
uses: softprops/action-gh-release@master | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: dpgen-*.sh | ||
repository: ${{ env.GITHUB_REPOSITORY }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
preferred-citation: | ||
type: article | ||
authors: | ||
- family-names: "Zhang" | ||
given-names: "Yuzhi" | ||
- family-names: "Wang" | ||
given-names: "Haidi" | ||
- family-names: "Chen" | ||
given-names: "Weijie" | ||
- family-names: "Zeng" | ||
given-names: "Jinzhe" | ||
- family-names: "Zhang" | ||
given-names: "Linfeng" | ||
- family-names: "Wang" | ||
given-names: "Han" | ||
- family-names: "E" | ||
given-names: "Weinan" | ||
doi: "10.1016/j.cpc.2020.107206" | ||
journal: "Computer Physics Communications" | ||
month: 8 | ||
start: 107206 # First page number | ||
end: 107206 # Last page number | ||
title: "DP-GEN: A concurrent learning platform for the generation of reliable deep learning based potential energy models" | ||
volume: 253 | ||
year: 2020 |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
channel_sources: | ||
- defaults | ||
- conda-forge | ||
channel_targets: | ||
- deepmodeling |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% set version = os.popen('git describe --tags --abbrev=0').read().strip('\n').lstrip('v').replace('-', '_') %} | ||
|
||
name: dpgen | ||
version: {{ version }} | ||
|
||
channels: | ||
- defaults | ||
- conda-forge | ||
- deepmodeling | ||
|
||
specs: | ||
- python 3.8 | ||
- pip | ||
- dpgen {{ version }} | ||
|
||
ignore_duplicate_files: True | ||
|
||
license_file: ../LICENSE |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{% set name = "dpgen" %} | ||
{% set version = os.popen('git describe --tags --abbrev=0').read().strip('\n').lstrip('v').replace('-', '_') %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
path: .. | ||
|
||
build: | ||
number: 0 | ||
noarch: python | ||
script: python -m pip install --no-deps --ignore-installed . | ||
|
||
requirements: | ||
build: | ||
- git | ||
host: | ||
- python >=3.6 | ||
- pip | ||
- setuptools_scm | ||
- dargs | ||
- paramiko | ||
- requests | ||
- dpdata | ||
- dpdispatcher | ||
|
||
run: | ||
- python >=3.6 | ||
- dargs | ||
- paramiko | ||
- requests | ||
- dpdata | ||
- dpdispatcher | ||
- pymatgen | ||
|
||
test: | ||
imports: | ||
- dpgen | ||
|
||
about: | ||
home: https://github.com/deepmodeling/dpgen | ||
license: LGPL-3.0 | ||
license_family: LGPL | ||
license_file: LICENSE | ||
doc_url: https://github.com/deepmodeling/dpgen | ||
dev_url: https://github.com/deepmodeling/dpgen | ||
|
||
extra: | ||
recipe-maintainers: | ||
- felix5572 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# DP-GEN Contributing Guide | ||
Welcome to [DP-GEN](https://github.com/deepmodeling/dpgen/tree/master/dpgen) ! | ||
|
||
|
||
## How to contribute | ||
DP-GEN adopts the same convention as other softwares in DeepModeling Community. | ||
You can first refer to DeePMD-kit's | ||
[Contributing guide](https://github.com/deepmodeling/deepmd-kit/edit/devel/CONTRIBUTING.md) | ||
and [Developer guide](https://github.com/deepmodeling/deepmd-kit/edit/devel/doc/development/index.md). | ||
|
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.