petosa / mongo_qcdb

MongoDB backend for storing quantum chemical databases
0 stars 0 forks source link

Back from winter break issue thread #6

Open petosa opened 7 years ago

petosa commented 7 years ago

Hello,

I made a commit fulfilling most of the TODO, bc5c3ca815e18cc520ae84463faa49ff6a707589 . I still need to write the get_data_frame function.

Outstanding issues are as follows:

petosa commented 7 years ago

Some issues/questions with the latest contribution:

loriab commented 7 years ago
petosa commented 7 years ago

Another thing I think may be an issue, the pages folder contains an extra file called timer.dat. Is this supposed to be there?

loriab commented 7 years ago

timer.dat is an artifact of Psi4 calculations. I'm sure it just got git added by mistake. You can delete or ignore it, whichever convenient.

petosa commented 7 years ago

Another thing: The for all page jsons, the molecule field seems to contain new line escape codes. For example,

"molecule":"\n  0  1\n      C        1.74073379        -0.17985247         0.00000000\n      H        2.84248921        -0.29368574         0.00000000\n      O        1.04839226        -1.20544675         0.00000000\n      O        1.40587723         1.08303481         0.00000000\n      H        0.38948927         1.16733829         0.00000000\n      C       -1.74073379         0.17985247         0.00000000\n      H       -2.84248921         0.29368574         0.00000000\n      O       -1.04839226         1.20544675         0.00000000\n      O       -1.40587723        -1.08303481         0.00000000\n      H       -0.38948927        -1.16733829         0.00000000\n",

The json needs to be properly structured, and I imagine this is a bug in the script that converts pickles to json.

EDIT: I've written the code and it should work once the aforementioned problem is fixed. The goals given to me by Daniel should all have been met. See f5ba70ba2d128c9e29fdaa3c2f10bb5e5a92add1. I will come by the lab on Thursday to check in.