1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

update github issue template

This commit is contained in:
Young
2020-12-28 12:02:01 +00:00
parent 2da2e9bd9e
commit 4a30d9d1ec
2 changed files with 8 additions and 2 deletions

View File

@@ -28,7 +28,8 @@ Steps to reproduce the behavior:
## Environment
**Note**: One could run `python scripts/collect_info.py` under the `qlib` directory to get the following information.
**Note**: User could run `cd scripts && python collect_info.py all` under project directory to get system information
and paste them here directly.
- Qlib version:
- Python version:
@@ -37,4 +38,4 @@ Steps to reproduce the behavior:
## Additional Notes
<!-- Add any other information about the problem here. -->
<!-- Add any other information about the problem here. -->

View File

@@ -9,6 +9,11 @@ QLIB_PATH = Path(__file__).absolute().resolve().parent.parent
class InfoCollector:
'''
User could collect system info by following commands
`cd scripts && python collect_info.py all`
- NOTE: please avoid running this script in the project folder which contains `qlib`
'''
def sys(self):
"""collect system related info"""
for method in ["system", "machine", "platform", "version"]: