Skip to content

Commit

Permalink
Removed argument the Illumina rule in iRODS 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
guerra committed Mar 2, 2017
1 parent c82a299 commit d314397
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions tests/test_extract_illumina.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ def setUp(self):
iput(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'samples', self.ILLUMINA_FILE_NAME))

def test_extract_illumina(self):
self.call_extract_metadata_for_illumina(
objPath=self.ILLUMINA_OBJ_PATH,
targetPath=self.IRODS_HOME_PATH,
destResc=self.IRODS_RESC,
status='null'
)
illumina_args = {'objPath': self.ILLUMINA_OBJ_PATH,
'targetPath': self.IRODS_HOME_PATH,
'destResc': self.IRODS_RESC}

if not self.IRODS_42:
illumina_args['status'] = 'null'

self.call_extract_metadata_for_illumina(**illumina_args)

# '-d' option is used when metadatas are get from a file and not a collection
rule_output = imeta_ls('-d', self.ILLUMINA_METADATA_FILE)
Expand Down

0 comments on commit d314397

Please sign in to comment.