-
Notifications
You must be signed in to change notification settings - Fork 3
/
testBioBeamerParser.py
43 lines (35 loc) · 1.39 KB
/
testBioBeamerParser.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
"""
$HeadURL: http://fgcz-svn.unizh.ch/repos/fgcz/stable/proteomics/BioBeamer/fgcz_biobeamer.py $
$Id: fgcz_biobeamer.py 7229 2015-02-05 09:46:15Z cpanse $
$Date: 2015-02-05 10:46:15 +0100 (Thu, 05 Feb 2015) $
Copyright 2015
Christian Panse <[email protected]>
Christian Trachsel <[email protected]>
Witold E. Wolski <[email protected]>
"""
import unittest
from biobeamer2 import BioBeamerParser
from biobeamer2 import MyLog
class TestBioBeamerParser(unittest.TestCase):
"""
"""
PARAM_TEST = {'target_path': '/srv/www/htdocs', 'name': 'test-configuration',
'pattern': '^.{0,2}p[0-9]+.[MP][-0-9a-zA-Z_\\/\\.]+\\.(raw|RAW|wiff|wiff\\.scan)$',
'source_path': '/srv/www/htdocs/Data2San',
'min_size': 1024, 'max_time_diff': 2419200,
'robocopy_args': '',
'simulate': True,
'min_time_diff': 10800,
'func_target_mapping': ''}
def test_beam_and_check(self):
logger = MyLog()
bio_beamer_parser = BioBeamerParser(xml="BioBeamer2.xml",
xsd="BioBeamer2.xsd",
hostname="wolski-fgcz",
logger=logger.logger)
param = bio_beamer_parser.parameters
#assert self.PARAM_TEST == param
def setUp(self):
pass
def tearDown(self):
pass