Skip to content

Commit

Permalink
make all attributes of FeatureInterval.pm rw
Browse files Browse the repository at this point in the history
  • Loading branch information
mtw committed Jan 10, 2018
1 parent 1efb49f commit 756c83f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,4 @@ Revision history for Perl extension Bio::ViennaNGS.
0.17.6
- added dump()method to Bio::ViennaNGS::FeatureInterval,
Bio::ViennaNGS::MinimalFeature and Bio::ViennaNGS::Feature
- make all attributes of Bio::ViennaNGS::FeatureInterval rw
8 changes: 4 additions & 4 deletions lib/Bio/ViennaNGS/FeatureInterval.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*-CPerl-*-
# Last changed Time-stamp: <2018-01-09 23:56:07 mtw>
# Last changed Time-stamp: <2018-01-10 00:28:46 mtw>

package Bio::ViennaNGS::FeatureInterval;

Expand All @@ -10,21 +10,21 @@ use Moose;
use version; our $VERSION = version->declare("$Bio::ViennaNGS::VERSION");

has 'chromosome' => (
is => 'ro',
is => 'rw',
isa => 'Str',
required => 1,
predicate => 'has_chromosome',
);

has 'start' => (
is => 'ro',
is => 'rw',
isa => 'Int',
required => 1,
predicate => 'has_start',
);

has 'end' => (
is => 'ro',
is => 'rw',
isa => 'Int',
required => 1,
predicate => 'has_end',
Expand Down

0 comments on commit 756c83f

Please sign in to comment.