Skip to content

Commit

Permalink
update a few calls to modifyJsonFile to remove varName
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Jan 30, 2012
1 parent 4ac9251 commit bef932e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/wig-to-json.pl
Expand Up @@ -82,7 +82,7 @@
print "\nworking on seq $seqName\n";
mkdir("$tilesubdir/$seqName") unless (-d "$tilesubdir/$seqName");

JsonGenerator::modifyJsonFile("$outdir/trackInfo.json", "trackInfo",
JsonGenerator::modifyJsonFile("$outdir/trackInfo.json",
sub {
my $trackList = shift;
my $i;
Expand Down
2 changes: 1 addition & 1 deletion lib/ImageTrackRenderer.pm
Expand Up @@ -205,7 +205,7 @@ sub render {
close TRACKFILE or die "Couldn't close $trackfile : $!";

# write to track list
JsonGenerator::modifyJsonFile($self->trackinfopath, "trackInfo",
JsonGenerator::modifyJsonFile($self->trackinfopath,
sub {
my $trackList = shift;
my $i;
Expand Down
2 changes: 1 addition & 1 deletion lib/JsonGenerator.pm
Expand Up @@ -120,7 +120,7 @@ sub modifyJsonFile {

sub writeTrackEntry {
my ($file, $entry) = @_;
modifyJsonFile($file, "trackInfo",
modifyJsonFile($file,
sub {
my $origTrackList = shift;
my @trackList = grep { exists($_->{'label'}) } @$origTrackList;
Expand Down

0 comments on commit bef932e

Please sign in to comment.