fixed bug in getpublicationsfromtsn that was trying to assign colnames to df with no rows, closes #297