You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Refactor output handling to use 'info' instead of 'print' and remove unused code
* Remove exit after raising of Exception
* Cast chr_id to a string (again)
* Properly scrub invalid characters from beign written to JSON status file
This commit will convert \n, \, and " when being written to the JSON message
field because all of those characters will cause the JSON to be invalid.
* Change branch to cole/suppress_printing
* Move test branch back to master
---------
Co-authored-by: kclem <k.clement.dev@gmail.com>
parser.add_argument("-p", "--prefix", action='append', help="Prefix for CRISPResso folders to aggregate (may be specified multiple times)", default=[])
sys.stdout.write('\n\nPlease install samtools and add it to your path following the instructions at: http://www.htslib.org/download/')
77
-
returnFalse
78
+
raiseCRISPRessoShared.InstallationException('CRISPRessoPooled requires samtools\nPlease install samtools and add it to your path following the instructions at: http://www.htslib.org/download/')
sys.stdout.write('\n\nPlease install Bowtie2 and add it to your path following the instructions at: http://bowtie-bio.sourceforge.net/bowtie2/manual.shtml#obtaining-bowtie-2')
89
-
returnFalse
91
+
raiseCRISPRessoShared.InstallationException('\nCRISPRessoPooled requires Bowtie2!\nPlease install Bowtie2 and add it to your path following the instructions at: http://bowtie-bio.sourceforge.net/bowtie2/manual.shtml#obtaining-bowtie-2')
92
+
93
+
defprint_full_pandas_df(x):
94
+
"""
95
+
Print the full pandas dataframe (no clipping of rows or columns)
'-v, --version show program\'s version number and exit\n'+ \
@@ -305,7 +278,6 @@ def main():
305
278
'-x GENOME_ROOT Folder that contains the bowtie2-indexed genome for optional unbiased alignment of reads (default: None, reads are only aligned to provided amplicon sequences)\n'+ \
306
279
'-n NAME, --name NAME Name for the analysis (default: name based on input file name)\n'
raiseException('The amplicon sequences must be distinct! (Duplicated entries: '+str(duplicated_entries.values) +')')
711
+
raiseCRISPRessoShared.BadParameterException('The amplicon sequences must be distinct! (Duplicated entries: '+str(duplicated_entries.values) +')')
740
712
741
713
#check to see that no sequences and their reverse complements are present
742
714
amp_seqs=df_template.amplicon_seq.values#Beware, this is a numpy array of dtype str and if you add these arrays amp_seqs + rc_amp_seqs, it will concat the strings, not the arrays....
0 commit comments