if there is no pmag data for any specimens (or samples/sites), do not try to write pmag_specimens/samples/sites type data to an upload file
if there is no pmag data for any specimens (or samples/sites), do not try to write pmag_specimens/samples/sites type data to an upload file

Caoimhinmg/PmagPy,lfairchild/PmagPy,Caoimhinmg/PmagPy,Caoimhinmg/PmagPy,lfairchild/PmagPy,lfairchild/PmagPy