Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
urmi-21 committed Mar 30, 2020
1 parent aa70e41 commit aa0e22f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyrpipe/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def perform_alignment(self,sra_object,out_suffix="_star",out_dir="",threads=None
newOpts["--genomeDir"]=self.star_index


#add input files to kwargs, overwrite kwargs with newOpts
#add input files to kwargs, overwrite newOpts with kwargs
mergedOpts={**newOpts,**kwargs}

#call star
Expand Down
2 changes: 1 addition & 1 deletion pyrpipe/sra.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SRA:
"""
def __init__(self,srr_accession=None, location=None, threads=None):

if location is None and srr_accession is None:
if (location is None) and (srr_accession is None):
#pu.print_boldred("Please provide a valid srr accession or location, or both")
raise Exception("Please provide a valid srr accession or location, or both")
#use the scan_path to create sra object
Expand Down

0 comments on commit aa0e22f

Please sign in to comment.