demianriccardi/p5-HackaMol

enable a YAML molecular format derived from Z-Matrix reader

demianriccardi opened this issue · 3 comments

The YAML molecular format should allow for variables to be fed in as arrays.

currently debating simple vs flexible representations:

simple:

---
atoms:
- N 0    0.483824   1.697569  -0.701935
- C 0    0.027824   0.314569  -0.780935
- C 0    0.152824  -0.407431   0.563065
- O 0   -0.559176  -1.416431   0.778065
- C 2   CC 3 CCC 4 CCCC
vars:
- CC :       1.54
- CCC :    106.42
- CCCC :  [-81.90, 89, 09]

flexible:

---
atoms :
- N :  { '0' : [[0,0,0], [0.483824,   1.697569,  -0.701935]] }
- C :  { '0' : [[0.027824,   0.314569,  -0.780935]] }
- C :  { '0' : [[0.152824,  -0.407431,   0.563065]] }
- O :  { '0' :  [[-0.559176,  -1.416431,   0.778065]] }
- C :  { '2' : CC, '3' :CCC, '4' : CCCC }
vars:
- CC : [1.54]
- CCC :  [106.42]
- CCCC  : [-81.90, 80, 90]

should yaml reader be default to allow easier on the fly building?

coordinate scan is actually pretty nasty if there is more than one scan. more than one scan is not supported for now.

Released, but tests are still lacking