You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Headerless delimited or whitespace rows: use integer column indices, such as
62
+
`Ni0.65Gd0.15Fe0.10Co0.05Yb0.05O2H1 291.9` or
63
+
`Ni0.65Gd0.15Fe0.10Co0.05Yb0.05O2H1|291.9`.
53
64
54
65
| Parameter | Default | Description |
55
66
|-----------|---------|-------------|
56
67
|`--poscar`|*(required)*| Template POSCAR file for the host lattice |
57
-
|`--formula-col`|`formula`| Input CSV column name to read composition formulas from |
68
+
|`--formula-col`|`formula`| Input table column to read composition formulas from; use a column name for headered files or a 0-based index for headerless whitespace files|
58
69
|`--base-element`| auto | Host element to substitute. Inferred as the most frequent non-O/H element in the template if omitted. |
59
70
|`--sets`|`1`| Number of random structures generated per formula row |
60
-
|`--property-col`|`Property`| Input CSV column name to read target values from; also used as the output label name |
71
+
|`--property-col`|`Property`| Input table column to read target values from; use a column name for headered files or a 0-based index for headerless whitespace files |
72
+
|`--property-name`| value of `--property-col`| Output label name written as `set.*/{property_name}.npy`|
61
73
|`--seed`|`42`| Random seed for selecting substituted host-atom sites |
62
74
63
75
```bash
@@ -68,6 +80,15 @@ dpa-adapt data convert --input compositions.csv --output ./npy --fmt formula \
68
80
dpaad data convert --input compositions.csv --output ./npy --fmt formula \
69
81
--poscar template.POSCAR --sets 3 \
70
82
--formula-col formula --property-col bandgap
83
+
84
+
# Headerless whitespace-delimited TXT: formula in column 0, target in column 1
85
+
dpa-adapt data convert --input 20260514.txt --output ./npy --fmt formula \
0 commit comments