Skip to content

Commit

Permalink
adapt new accessors for genefamily constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmueller committed May 11, 2024
1 parent f8bc9c5 commit 9ed0c4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions t/unit_fixture/SGN/genefamily.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ use File::Spec::Functions;
use_ok('SGN::Genefamily');

my $test_dir = 't/data/genefamily_data';

my $gf = SGN::Genefamily->new( files_dir => $test_dir,
dataset => 'test',
build => 'test',
name => 'family_0'
);

is($gf->name(), "family_0", "name test");
is($gf->dataset(), "test", "dataset test");
is($gf->build(), "test", "dataset test");
is($gf->files_dir(), $test_dir, "files_dir test");
is($gf->get_path(), catdir($test_dir,'test'), "get_path test");
my $aln = $gf->get_alignment();
Expand Down

0 comments on commit 9ed0c4d

Please sign in to comment.