Skip to content

Commit 873f4a4

Browse files
Update datasets.py
row[9] yields error, print(len(row)) tells me 6. downloaded data from google drive link in readme.
1 parent fd05978 commit 873f4a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OpenDFT/QHBench/QH9/datasets.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def process(self, num_geometry_per_mol=60, num_train_geometry_per_mol=50, num_va
306306
'num_nodes': row[2],
307307
'atoms': row[3],
308308
'pos': row[4],
309-
'Ham': row[9]
309+
'Ham': row[5]
310310
}
311311
data_dict = pickle.dumps(ori_data_dict)
312312
txn.put(ind.to_bytes(length=4, byteorder='big'), data_dict)
@@ -336,7 +336,7 @@ def process(self, num_geometry_per_mol=60, num_train_geometry_per_mol=50, num_va
336336
'num_nodes': row[2],
337337
'atoms': row[3],
338338
'pos': row[4],
339-
'Ham': row[9]
339+
'Ham': row[5]
340340
}
341341
data_dict = pickle.dumps(ori_data_dict)
342342
txn.put(ind.to_bytes(length=4, byteorder='big'), data_dict)

0 commit comments

Comments
 (0)