Last active
August 3, 2017 19:06
-
-
Save normcyr/f92e175c39834a926480f24a7b20f224 to your computer and use it in GitHub Desktop.
autocoot - a script to launch coot and automatically open the latest PDB and MTZ files.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# script to launch coot and automatically open the latest PDB and MTZ files | |
# modified slightly from jpxtal (https://github.com/jpxtal/easypx) | |
unset GTK_IM_MODULE | |
pdb=$(ls -t *.pdb | head -1) | |
mtz=$(ls -t *.mtz | head -1) | |
echo coot --pdb $pdb --auto $mtz | |
sleep 1 | |
coot --pdb $pdb --auto $mtz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment