X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fplot_karyogram;h=2e3748be5a113282cc3997c8862744cbe19d137d;hb=af282a65d141826c15944437b07a0353dd14e79c;hp=5e6c015d83fa24ba1ba8df1928bada9eae570944;hpb=f2b1b113e4ca24d303bad1579fd4b382c828359a;p=biopieces.git diff --git a/bp_bin/plot_karyogram b/bp_bin/plot_karyogram index 5e6c015..2e3748b 100755 --- a/bp_bin/plot_karyogram +++ b/bp_bin/plot_karyogram @@ -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::Plot; @@ -34,7 +35,7 @@ use Maasha::Plot; # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -my ( $run_time_beg, $run_time_end, $options, $in, $out, $record, @data, $fh, $result, %data_hash ); +my ( $options, $in, $out, $record, @data, $fh, $result, %data_hash ); $options = Maasha::Biopieces::parse_options( [ @@ -69,26 +70,22 @@ print $fh $result; 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(); } @@ -96,4 +93,3 @@ END __END__ -