Skip to content

Commit

Permalink
Remove tests in df_system.py and tests file results
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianTesson committed Jul 8, 2024
1 parent f705f16 commit f78ec8c
Show file tree
Hide file tree
Showing 6 changed files with 875 additions and 881 deletions.
6 changes: 0 additions & 6 deletions defense_finder_posttreat/df_systems.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

def export_defense_finder_systems(defense_finder_genes, outdir, filename):
systems = build_defense_finder_systems(defense_finder_genes)
print(systems)
systems.to_csv(os.path.join(outdir, filename + '_defense_finder_systems.tsv'), sep='\t', index=False)


Expand All @@ -27,8 +26,3 @@ def build_defense_finder_systems(defense_finder_genes):
out = pd.DataFrame(columns=['sys_id', 'type', 'subtype', 'activity', 'sys_beg', 'sys_end', 'protein_in_syst', 'genes_count', 'name_of_profiles_in_sys'])

return out[['sys_id', 'type', 'subtype', 'activity', 'sys_beg', 'sys_end', 'protein_in_syst', 'genes_count', 'name_of_profiles_in_sys']]


# defense=pd.read_table('./Test_version/ESCO001.0722.00768.C001_defense_finder_genes.tsv',sep='\t')
# export_defense_finder_systems(defense,'./Test_version',
# 'Test.tsv')
Loading

0 comments on commit f78ec8c

Please sign in to comment.