Thereās a part Iām not understanding very well.
For static calculations, the structure obtained from final=False will be the same as with final=True (the default).
Why do final=False and final=True give same static structures? Doesnāt MPStaticSet generate only INCAR/KPOINTS data instead POSCAR structure? Structure loading only cares about relaxation (final), not calculation type, right?
Thanks for confirming the website uses API data.
So, the website likely converts the API structure to a standard format.
After conversion, atomic positions and cell parameters are very similar (differing from the 4th decimal place), but oxidation states differ.
For example, the website assigns Co2+ to 0.6291685 0.0 0.8835005, while the API assigns Co3+ to 0.6291255 0.0 0.8834999. This likely stems from BVAnalyzer prediction differences.
Therefore, how does the web calculate and add these oxidation states? Is there any good option to assign oxidation states to API POSCAR file same as website POSCAR?
mp-1271793, Website
Co12 O16
1.0
0.0000000000000000 10.2095112152377308 0.0000000000000000
5.8278732527041974 0.0000000000000000 0.0000000000000000
0.0000000000000000 -3.4065117970409271 -4.8655693483207072
Co O
12 16
direct
0.6291685000000000 0.0000000000000000 0.8835004999999990 Co2+
0.3708314999999990 0.0000000000000000 0.1164994999999990 Co2+
0.1291685000000000 0.5000000000000000 0.8835004999999990 Co2+
0.8708314999999991 0.5000000000000000 0.1164994999999990 Co2+
0.5000000000000000 0.5000000000000000 0.5000000000000000 Co3+
0.2500000000000000 0.7500000000000000 0.5000000000000000 Co3+
0.2500000000000000 0.2500000000000000 0.5000000000000000 Co3+
0.5000000000000000 0.5000000000000000 0.0000000000000000 Co3+
0.0000000000000000 0.0000000000000000 0.5000000000000000 Co3+
0.7500000000000000 0.2500000000000000 0.5000000000000000 Co3+
0.7500000000000000 0.7500000000000000 0.5000000000000000 Co3+
0.0000000000000000 0.0000000000000000 0.0000000000000000 Co3+
0.2647394999999990 0.5000000000000000 0.2802424999999990 O2-
0.0053544999999990 0.7732289999999991 0.2464394999999990 O2-
0.4946454999999990 0.2732289999999990 0.7535604999999991 O2-
0.4946454999999990 0.7267710000000001 0.7535604999999991 O2-
0.2665610000000000 0.5000000000000000 0.7520724999999990 O2-
0.0053544999999990 0.2267710000000000 0.2464394999999990 O2-
0.2352604999999990 0.0000000000000000 0.7197574999999991 O2-
0.2334389999999990 0.0000000000000000 0.2479275000000000 O2-
0.7647394999999990 0.0000000000000000 0.2802424999999990 O2-
0.5053544999999990 0.2732289999999990 0.2464394999999990 O2-
0.9946455000000001 0.7732289999999991 0.7535604999999991 O2-
0.9946455000000001 0.2267710000000000 0.7535604999999991 O2-
0.7665609999999990 0.0000000000000000 0.7520724999999990 O2-
0.5053544999999990 0.7267710000000001 0.2464394999999990 O2-
0.7352605000000001 0.5000000000000000 0.7197574999999991 O2-
0.7334389999999991 0.5000000000000000 0.2479275000000000 O2-
mp-1271793, API to conventional
Co12 O16
1.0
0.0000000000000000 10.2095112152377308 0.0000000000000000
5.8278732527041974 0.0000000000000000 0.0000000000000000
0.0000000000000000 -3.4065117970409271 -4.8655693483207072
Co O
12 16
direct
0.5000000000000000 0.5000000000000000 0.5000000000000000 Co2+
0.5000000000000000 0.5000000000000000 0.0000000000000000 Co2+
0.0000000000000000 0.0000000000000000 0.5000000000000000 Co2+
0.0000000000000000 0.0000000000000000 0.0000000000000000 Co2+
0.2500000000000000 0.7500000000000000 0.5000000000000000 Co3+
0.2500000000000000 0.2500000000000000 0.5000000000000000 Co3+
0.6291254999999998 0.0000000000000000 0.8834999999999994 Co3+
0.3708745000000002 0.0000000000000000 0.1165000000000006 Co3+
0.7500000000000000 0.2500000000000000 0.5000000000000000 Co3+
0.7500000000000000 0.7500000000000000 0.5000000000000000 Co3+
0.1291254999999998 0.5000000000000000 0.8834999999999994 Co3+
0.8708745000000002 0.5000000000000000 0.1165000000000006 Co3+
0.2646964999999994 0.5000000000000000 0.2802419999999995 O2-
0.0053114999999990 0.7731864999999999 0.2464390000000006 O2-
0.4946885000000010 0.2731864999999999 0.7535609999999994 O2-
0.4946885000000010 0.7268135000000001 0.7535609999999994 O2-
0.2665179999999998 0.5000000000000000 0.7520719999999994 O2-
0.0053114999999990 0.2268135000000001 0.2464390000000006 O2-
0.2353035000000006 0.0000000000000000 0.7197580000000005 O2-
0.2334820000000002 0.0000000000000000 0.2479280000000006 O2-
0.7646964999999994 0.0000000000000000 0.2802419999999995 O2-
0.5053114999999990 0.2731864999999999 0.2464390000000006 O2-
0.9946885000000010 0.7731865000000000 0.7535609999999994 O2-
0.9946885000000010 0.2268135000000001 0.7535609999999994 O2-
0.7665179999999998 0.0000000000000000 0.7520719999999994 O2-
0.5053114999999990 0.7268135000000000 0.2464390000000006 O2-
0.7353035000000006 0.5000000000000000 0.7197580000000005 O2-
0.7334820000000002 0.5000000000000000 0.2479280000000006 O2-
And, Iām sorry for asking the same thing multiple times, but ultimately, the source of the structure provided on the website is, as long as I look at the structure from the task ID found through the provenance command, thatās correct, right?
352 āoriginsā: [{ālast_updatedā: datetime.datetime(2021, 3, 13, 15, 41, 51, 301000),
353 ānameā: āstructureā,
354 ātask_idā: MPID(mp-2023503)},
355 {ālast_updatedā: datetime.datetime(2025, 4, 7, 18, 36, 11, 249000),
356 ānameā: āenergyā,
357 ātask_idā: MPID(mp-2023503)},
358 {ālast_updatedā: datetime.datetime(2021, 3, 13, 15, 41, 51, 301000),
359 ānameā: āmagnetismā,
360 ātask_idā: MPID(mp-2023503)}],
361 āpossible_speciesā: [āGe2-ā, āCo2+ā],
Taking the file above as an example, mp-2023503, which was uploaded in 2021, is the API structure data.
Besides the data above, thereās also data listing various task IDs called task_ids, but this seems like just a record, right? Thereās no detailed explanation for these IDs.
Iām wondering how I can obtain the exact same input (POSCAR, INCAR, KPOINTS, etc.) as whatās being provided on the web.
task_ids
390 ātask_idsā: [MPID(mp-2669134),
391 MPID(mp-1079777),
392 MPID(mp-2655729),
393 MPID(mp-2374040),
394 MPID(mp-1300353),
395 MPID(mp-2655700),
396 MPID(mp-1671314),
397 MPID(mp-2669113),
398 MPID(mp-2669285),
399 MPID(mp-2319277),
400 MPID(mp-1591716),
401 MPID(mp-2023503),
402 MPID(mp-2026906),
403 MPID(mp-2193111),
404 MPID(mp-2669299),
405 MPID(mp-21237),
406 MPID(mp-2669334),
407 MPID(mp-2707284),
408 MPID(mp-2655926),
409 MPID(mp-1524447),
410 MPID(mp-2707280),
411 MPID(mp-2655900),
412 MPID(mp-1921025),
413 MPID(mp-2655734),
414 MPID(mp-2669227),
415 MPID(mp-2655862),
416 MPID(mp-2669385),
417 MPID(mp-2669411),
418 MPID(mp-2707293),
419 MPID(mp-2669388),
420 MPID(mp-2669282),
421 MPID(mp-2669361)],
Please let me know if there is any documentation on viewing data related to a specific task_id, or documentation on how to read provenance data.
Finally, I sincerely appreciate your help as always. Your assistance is a great help to my immature research.