comparison lib/CPT/Parameter/String.pm @ 1:8691c1c61a8e draft default tip

planemo upload commit 94b0cd1fff0826c6db3e7dc0c91c0c5a8be8bb0c
author cpt
date Mon, 05 Jun 2023 02:48:47 +0000
parents
children
comparison
equal deleted inserted replaced
0:54c7a3ea81e2 1:8691c1c61a8e
1 package CPT::Parameter::String;
2 use Moose;
3 with 'CPT::Parameter';
4
5
6 sub galaxy_input {
7 my ( $self, $xml_writer ) = @_;
8 $self->handle_possible_galaxy_input_repeat_start($xml_writer);
9 my %params = $self->get_default_input_parameters('text');
10 $xml_writer->startTag(
11 'param',
12 %params,
13 );
14 $xml_writer->endTag('param');
15 $self->handle_possible_galaxy_input_repeat_end($xml_writer);
16 }
17
18
19 sub galaxy_output {
20
21 }
22
23
24 sub validate_individual {
25 my ($self) = @_;
26 return 1;
27 }
28
29
30 sub getopt_format {
31 return '=s';
32 }
33 no Moose;
34 1;
35
36 __END__
37
38 =pod
39
40 =encoding UTF-8
41
42 =head1 NAME
43
44 CPT::Parameter::String
45
46 =head1 VERSION
47
48 version 1.99.4
49
50 =head2 galaxy_input
51
52 $file_param->galaxy_input($xml_writer); # where $file_param is a CPT::Parameter::*
53
54 Utilises the $xml_writer to add a <data> block in the <output> section
55
56 =head2 galaxy_output
57
58 $file_param->galaxy_output($xml_writer); # where $file_param is a CPT::Parameter::*
59
60 Utilises the $xml_writer to add a <data> block in the <output> section
61
62 =head2 getopt_format
63
64 Returns the format character for a given CPT::Parameter::* type
65
66 =head1 AUTHOR
67
68 Eric Rasche <rasche.eric@yandex.ru>
69
70 =head1 COPYRIGHT AND LICENSE
71
72 This software is Copyright (c) 2014 by Eric Rasche.
73
74 This is free software, licensed under:
75
76 The GNU General Public License, Version 3, June 2007
77
78 =cut