-
Notifications
You must be signed in to change notification settings - Fork 17
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 #15 from stanfordbshan/dev
HTMACat1.0.2更新 更新内容如下: 1.为了更好的反馈问题和提供建议,提供了issues模板 2.添加了SML标识各物种以SMILES形式读取 3.添加了workflow,实现每次push到master分支时都会自动编译wheel并发布到release
- Loading branch information
Showing
23 changed files
with
334 additions
and
103 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
name: 问题模板 | ||
about: 如发现Bug,请按此模板提交issues,不按模板提交的问题将直接关闭。提交问题务必描述清楚、附上日志,描述不清导致无法理解和分析的问题也可能会被直接关闭。 | ||
--- | ||
|
||
## 你使用的 HTMACat 是什么版本,什么环境? | ||
|
||
> HTMACat 版本: x.x.x | ||
> | ||
> 环境: python x.x in windows or linux, install_requires | ||
> | ||
## 你遇到什么问题了? | ||
|
||
> 描述一下你遇到的问题 | ||
## 是否已经浏览过Issues仍无法解决? | ||
|
||
> 请搜索Issues列表、查看wiki跟TG公众号的更新说明,已经解释过的问题不要重复提问 | ||
|
||
## 你期望的结果 | ||
|
||
> 描述以下你期望的结果 | ||
## 给出程序界面截图、后台运行日志或配置文件 | ||
|
||
> 请提供截图及配置文件截图 | ||
> 其它问题提供后台日志 |
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,19 @@ | ||
--- | ||
name: 功能需求模板 | ||
about: 如有新功能需要需要提交,请按此模板创建issues | ||
--- | ||
|
||
## 你使用的 HTMACat 是什么版本,什么环境? | ||
|
||
> HTMACat 版本: x.x.x | ||
> | ||
> 环境: python x.x in windows or linux, install_requires | ||
> | ||
## 你想要新增或者改进什么功能? | ||
|
||
> 你想要新增或者改进什么功能? | ||
## 这个功能有什么可以参考的资料吗? | ||
|
||
> 这个功能有什么可以参考的资料吗?是否可以列举一些,不要引用同类但商业化软件的任何内容. |
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,49 @@ | ||
name: Python package | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
types: | ||
- ready_for_review | ||
- review_requested | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: write-all | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Publish Python Package | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
publish-package: true | ||
|
||
- name: Build wheel and source distribution | ||
run: | | ||
cd src | ||
pip install setuptools wheel | ||
python setup.py sdist bdist_wheel | ||
- name: Release version | ||
id: release_version | ||
run: | | ||
cd src | ||
app_version=$(cat setup.py | grep version | sed "s/version='\([0-9]\+\.[0-9]\+\.[0-9]\+\)',/\1/" | sed s/[[:space:]]//g) | ||
echo "app_version=$app_version" >> $GITHUB_ENV | ||
echo "app_version=$app_version" | ||
- name: Upload binaries to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: src/dist/*.whl | ||
tag: v${{env.app_version}} | ||
release_name: v${{env.app_version}} | ||
overwrite: true | ||
file_glob: true | ||
body: ${{github.event.head_commit.message}} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Cu | ||
b1 | ||
SML C(=O)O | ||
1 |
File renamed without changes.
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,4 @@ | ||
Cu | ||
b1 | ||
HCOOH | ||
1 |
File renamed without changes.
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,4 @@ | ||
Cu | ||
3 | ||
SML N [O];[NH2] [OH];[N] [N];[N] [O];[N] [N]=O | ||
1 1;1 1;1 1;1 1;1 1 |
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 @@ | ||
Au fcc 4.16 111 |
File renamed without changes.
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 @@ | ||
Au fcc 4.16 111 |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
pip install ase numpy==1.23.5 scikit-learn | ||
pip install https://raw.githubusercontent.com/stanfordbshan/HTMACat-kit/master/requires_wheel/FireWorks-2.0.3-py3-none-any.whl | ||
pip install https://raw.githubusercontent.com/stanfordbshan/HTMACat-kit/master/requires_wheel/CatKit-0.5.4-py3-none-any.whl | ||
pip install https://raw.githubusercontent.com/stanfordbshan/HTMACat-kit/master/requires_wheel/CatKit-0.5.4-py3-none-any.requires_wheel | ||
for /f "tokens=1,* delims=:" %%A in ('curl -ks https://api.github.com/repos/stanfordbshan/HTMACat-kit/releases/latest ^| find "browser_download_url"') do ( | ||
pip install -U %%B | ||
) |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/bash | ||
pip install ase numpy==1.23.5 scikit-learn | ||
pip install https://raw.githubusercontent.com/stanfordbshan/HTMACat-kit/master/requires_wheel/FireWorks-2.0.3-py3-none-any.whl | ||
pip install https://raw.githubusercontent.com/stanfordbshan/HTMACat-kit/master/requires_wheel/CatKit-0.5.4-py3-none-any.whl | ||
pip install https://raw.githubusercontent.com/stanfordbshan/HTMACat-kit/master/requires_wheel/CatKit-0.5.4-py3-none-any.whl | ||
pip install --upgrade $(curl -s https://api.github.com/repos/stanfordbshan/HTMACat-kit/releases/latest | grep "browser_download_url.*\.whl" | cut -d : -f 2,3 | tr -d \") |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.