Commit b99b5812d68bdcd1aa34d621e1045573493e19d6

Authored by Jean-Michel Garant
1 parent d2321417
Exists in master

apply_networks supports unicode strings

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
screen.py
... ... @@ -52,7 +52,7 @@ def apply_network(ann,
52 52 columns.append(essential)
53 53 columns_to_drop.append(essential)
54 54 # manage files and stings differently using adapted fasta fetcher
55   - if type(fasta) == type(''):
  55 + if type(fasta) == type('') or type(fasta) == type(u''):
56 56 RNome_df = g4base.gen_G4RNA_df(utils.fasta_str_fetcher(fasta,
57 57 verbose=verbose),
58 58 columns, 1, int(wdw_len), int(wdw_step), verbose=verbose)
... ...