Commit 9008dc69 authored by Mathieu Giraud's avatar Mathieu Giraud

*.py: code cleaning, unused imports and variables

Thanks to landscape.io.
parent 7d4fc816
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
from __future__ import print_function from __future__ import print_function
import fuse import fuse
import sys
import ansi import ansi
import argparse import argparse
......
...@@ -31,8 +31,6 @@ import check_python_version ...@@ -31,8 +31,6 @@ import check_python_version
import sys import sys
import json import json
import argparse import argparse
import time
import copy
import os.path import os.path
import os import os
import datetime import datetime
...@@ -462,7 +460,6 @@ class ListWindows(VidjilJson): ...@@ -462,7 +460,6 @@ class ListWindows(VidjilJson):
def cut(self, limit, nb_points): def cut(self, limit, nb_points):
'''Remove information from sequence/windows who never enter in the most represented sequences. Put this information in 'other' windows.''' '''Remove information from sequence/windows who never enter in the most represented sequences. Put this information in 'other' windows.'''
length = len(self)
w=[] w=[]
others = OtherWindows(nb_points) others = OtherWindows(nb_points)
......
...@@ -26,7 +26,6 @@ def main(): ...@@ -26,7 +26,6 @@ def main():
print('%%%%', ' '.join(sys.argv)) print('%%%%', ' '.join(sys.argv))
args = parser.parse_args() args = parser.parse_args()
datas = []
for i in args.file: for i in args.file:
data = fuse.ListWindows() data = fuse.ListWindows()
......
import fuse import fuse
import argparse import argparse
import os
import base64 import base64
MAX_TOP=99999999999 MAX_TOP=99999999999
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment