X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fwrite_ucsc_config;h=2c8654a2d5f2ef1369d328462b861bd8461809dd;hb=6c1d90a31caa1fe54bedc965ba26940688a31ab0;hp=b566281727fb014479cd122eabeabeb9fbeb16e1;hpb=61ede0a4aa00bb7770243d573872562bdc878524;p=biopieces.git diff --git a/bp_bin/write_ucsc_config b/bp_bin/write_ucsc_config index b566281..2c8654a 100755 --- a/bp_bin/write_ucsc_config +++ b/bp_bin/write_ucsc_config @@ -1,4 +1,4 @@ -#!/usr/bin/env perl -w +#!/usr/bin/env perl # Copyright (C) 2007-2009 Martin A. Hansen. @@ -26,6 +26,7 @@ # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +use warnings; use strict; use Maasha::Biopieces; use Maasha::UCSC; @@ -34,7 +35,7 @@ use Maasha::UCSC; # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -my ( $run_time_beg, $run_time_end, $options, $in, $out, $record, $fh ); +my ( $options, $in, $out, $record, $fh ); $options = Maasha::Biopieces::parse_options( [ @@ -58,25 +59,22 @@ while ( $record = Maasha::Biopieces::get_record( $in ) ) close $fh; +Maasha::Biopieces::close_stream( $in ); +Maasha::Biopieces::close_stream( $out ); + # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< BEGIN { - $run_time_beg = Maasha::Biopieces::run_time(); - - Maasha::Biopieces::log_biopiece(); + Maasha::Biopieces::status_set(); } + END { - Maasha::Biopieces::close_stream( $in ); - Maasha::Biopieces::close_stream( $out ); - - $run_time_end = Maasha::Biopieces::run_time(); - - Maasha::Biopieces::run_time_print( $run_time_beg, $run_time_end, $options ); + Maasha::Biopieces::status_log(); }