-
Notifications
You must be signed in to change notification settings - Fork 5
Add Tutorial2. 2D mat #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
da37121
ec92b6c
52066fb
839374e
5249fe1
04fec58
b5a93d7
8e41227
3ff7fab
4f25276
1d03c18
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| { | ||
| "structure":"train/data/POSCAR", | ||
| "task_options": { | ||
| "task": "band", | ||
| "kline_type":"abacus", | ||
| "kpath":[ | ||
| [0, 0, 0, 50], | ||
| [0.5, 0, 0, 50], | ||
| [0.3333333, 0.3333333, 0, 50], | ||
| [0, 0, 0, 1] | ||
| ], | ||
| "nkpoints":151, | ||
| "klabels":["G", "M", "K", "G"], | ||
| "emin":-20, | ||
| "emax":20, | ||
| "nel_atom":{"C":4} | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "common_options": { | ||
| "basis": { | ||
| "C": [ | ||
| "2s", | ||
| "2p", | ||
| "d*" | ||
| ] | ||
| } | ||
| } | ||
| } | ||
|
Comment on lines
+1
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainFix directory name: extr_baseline vs extra_baseline Graphene uses "extr_baseline" while hBN uses "extra_baseline". This inconsistency will break scripts relying on a common pattern. Rename the directory or align all references. Run to spot all occurrences: 🏁 Script executed: #!/bin/bash
rg -n 'extra_baseline|extr_baseline' -C2Length of output: 396 Fix directory name: extr_baseline vs extra_baseline PR adds examples/graphene/extr_baseline (e.g., examples/graphene/extr_baseline/c_spds.json) while docs reference ../extra_baseline/hbn_spd_model/sktb.json (docs/hands_on/tutorial2_2d_mat.ipynb:29). Align the directory name or update all references to avoid breaking scripts. 🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make profiling optional; avoid hard dependency on pyinstrument.
Importing pyinstrument unconditionally can break environments. Guard it and fall back gracefully.
Apply this diff:
🤖 Prompt for AI Agents