From 110b4ae43389a8ff3110631cf8680daf2f125bc2 Mon Sep 17 00:00:00 2001 From: kedhammar Date: Thu, 23 May 2024 12:43:58 +0000 Subject: [PATCH] set logo to external variable --- anglerfish/anglerfish.py | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/anglerfish/anglerfish.py b/anglerfish/anglerfish.py index 492dad6..bdaf182 100755 --- a/anglerfish/anglerfish.py +++ b/anglerfish/anglerfish.py @@ -27,6 +27,18 @@ MAX_PROCESSES = 64 # Ought to be enough for anybody +anglerfish_logo = """ + ___ + ( ) \ -..__ + _.|~”~~~”…_ + ^´ `>. +(+ (+ ) “<..<^( + `´ ``´ ___ ( + \__..~ __( _…_( + \ / + “--…_ _..~%´ + ```´´ +""" def run_demux(args): multiprocessing.set_start_method("spawn") @@ -38,18 +50,7 @@ def run_demux(args): ss = SampleSheet(args.samplesheet, args.ont_barcodes) version = pkg_resources.get_distribution("bio-anglerfish").version report = Report(args.run_name, run_uuid, version) - sys.stderr.write(""" - ___ - ( ) \ -..__ - _.|~”~~~”…_ - ^´ `>. -(+ (+ ) “<..<^( - `´ ``´ ___ ( - \__..~ __( _…_( - \ / - “--…_ _..~%´ - ```´´ -""") + sys.stderr.write(anglerfish_logo) log.info(f" version {version}") log.info(f" arguments {vars(args)}") log.info(f" run uuid {run_uuid}")