From: William P. <wil...@ya...> - 2010-03-03 23:29:45
|
It's not impossible that there are matrices that will break or malfunction in the importation. But in this case, since the tb_matrixid is blank, I don't know what it is. I'm guessing this is junk that you can delete. bp On Mar 3, 2010, at 5:20 PM, Vladimir Gapeyev wrote: > Mark's data import instructions have a fix-up step, to be run after the matrices upload. As I understand it recomputes character counts for matrices, which are computed incorrectly during the upload. The step is performed by org.cipres.treebase.util.SetMatrixNChar. > > This step broke during the migration, even though it was fine on my testing data. Investigating the problem suggests it may be due to a matrix that has no columns (= no associated records in the matrixcolumn table). > > matrix_id | tb_matrixid | nexusfilename | title | study_id | taxonlabelset_id > -----------+-------------+----------------------+---------------------------+----------+------------------ > 3463 | | undone-non-stepm.nex | Untitled Character Matrix | | 3596 > > The file is "undone-non-step.nex" is not in the DB. > > This matrix comes from the pre-migration instance. > > I presume it is junk that I can safely delete, which I'll do before re-trying SetMatrixNChar. William H. Piel Associate Director for Evolutionary Informatics Peabody 401, Yale University 170 Whitney Ave. New Haven CT 06511 (203) 436-4957 wil...@ya... |