ISA-tools/isa-api

in isatab.dump.write.py, error not caught in flatten() method

Opened this issue · 0 comments

if input list is None, flatten() fails

  • refactor to move out of the write_assay_table_files() function
  • rewrite list comprehension [item for sublist in current_list for item in sublist] to include guard for None input
  • write corresponding test