rigdenlab / SIMBAD

Sequence Independent Molecular replacement Based on Available Database
http://simbad.rtfd.io
BSD 3-Clause "New" or "Revised" License
3 stars 7 forks source link

Update Niggli database in root directories #70

Closed fsimkovic closed 6 years ago

fsimkovic commented 6 years ago

The Niggli database cannot be updated directly if located in a root directory, such as /Applications on a Mac. The following commands throw errors:

$ simbad-database lattice
$ sudo simbad-database lattice
$ sudo -E simbad-database lattice

Workaround for now is to install it for an user and move it across with sudo access

$ simbad-database lattice -latt_db $HOME/niggli_database.npz
$ sudo mv $HOME/niggli_database.npz $CCP4/share/simbad/static/niggli_database.npz
fsimkovic commented 6 years ago

Command sudo -E simbad-database lattice appears to work on a Mac, and maybe some Linux?!

fsimkovic commented 6 years ago

Fix included in #74