======================================================================
ERROR: testBeadplotSerial (tests.test_batch_utils.TestBeadplotSerial)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sandeep/covizu/tests/test_batch_utils.py", line 69, in testBeadplotSerial
result = beadplot_serial(lineage, features, args)
File "/home/sandeep/covizu/covizu/utils/batch_utils.py", line 89, in beadplot_serial
trees, labels = clustering.build_trees(features, args, callback=callback)
File "/home/sandeep/covizu/covizu/clustering.py", line 218, in build_trees
union, labels, indexed = recode_features(records, callback=callback)
File "/home/sandeep/covizu/covizu/clustering.py", line 33, in recode_features
for muts, variant in records.items():
AttributeError: 'list' object has no attribute 'items'
----------------------------------------------------------------------
Tried to fix the above error by making the following changes
======================================================================
ERROR: testBeadplotSerial (tests.test_batch_utils.TestBeadplotSerial)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sandeep/covizu/tests/test_batch_utils.py", line 53, in testBeadplotSerial
result = beadplot_serial(lineage, features, args)
File "/home/sandeep/covizu/covizu/utils/batch_utils.py", line 89, in beadplot_serial
trees, labels = clustering.build_trees(features, args, callback=callback)
File "/home/sandeep/covizu/covizu/clustering.py", line 218, in build_trees
union, labels, indexed = recode_features(records, callback=callback)
File "/home/sandeep/covizu/covizu/clustering.py", line 38, in recode_features
label = "{covv_virus_name}|{covv_location}|{covv_accession_id}|{covv_collection_date}".format(**sample)
KeyError: 'covv_location'
----------------------------------------------------------------------
Then tried to run the test again after adding a 'covv_location': '', key to features
But facing the following error
======================================================================
ERROR: testBeadplotSerial (tests.test_batch_utils.TestBeadplotSerial)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sandeep/covizu/tests/test_batch_utils.py", line 53, in testBeadplotSerial
result = beadplot_serial(lineage, features, args)
File "/home/sandeep/covizu/covizu/utils/batch_utils.py", line 101, in beadplot_serial
for coldate, accn, label1 in intermed:
ValueError: too many values to unpack (expected 3)
----------------------------------------------------------------------
Tried to fix the above error by making the following changes
But faced the following error
Then tried to run the test again after adding a
'covv_location': '',
key to features But facing the following error