libAtoms / abcd

1 stars 4 forks source link

string quoting characters not accepted consistently #92

Closed gabor1 closed 3 years ago

gabor1 commented 4 years ago

The following two should both work, but only the second one does

abcd upload -i -e "config_type='2D'" database_with_virial/2D/2D_mbd2.xyz 
abcd upload -i -e 'config_type="2D"' database_with_virial/2D/2D_mbd2.xyz 
stenczelt commented 3 years ago

both of these work:

~/work/ABCD/examples master !1 ?1 ❯ abcd summary -q "config_type='iter_0.3'" -p config_type                                                                                         Py wfl_test 03:34:44 pm
config_type count: 2348 unique: 1
▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2348 iter_0.3
~/work/ABCD/examples master !1 ?1 ❯ abcd summary -q 'config_type="iter_0.3"' -p config_type                                                                                         Py wfl_test 03:34:52 pm
config_type count: 2348 unique: 1
▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2348 iter_0.3