Skip to content

Commit

Permalink
Add script versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjolley committed Jan 30, 2025
1 parent a3acb68 commit 1f6dc7e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions scripts/rest_examples/perl/download_alleles.pl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#
#Version 20250130
use strict;
use warnings;
use 5.010;
Expand Down Expand Up @@ -82,7 +82,7 @@ sub show_help {
my $termios = POSIX::Termios->new;
$termios->getattr;
my $ospeed = $termios->getospeed;
my $t = Tgetent Term::Cap { TERM => undef, OSPEED => $ospeed };
my $t = Tgetent Term::Cap { TERM => undef, OSPEED => $ospeed };
my ( $norm, $bold, $under ) = map { $t->Tputs( $_, 1 ) } qw/me md us/;
say << "HELP";
${bold}NAME$norm
Expand Down
4 changes: 2 additions & 2 deletions scripts/rest_examples/perl/get_schemes.pl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#
#Version 20250130
use strict;
use warnings;
use 5.010;
Expand Down Expand Up @@ -71,7 +71,7 @@ sub show_help {
my $termios = POSIX::Termios->new;
$termios->getattr;
my $ospeed = $termios->getospeed;
my $t = Tgetent Term::Cap { TERM => undef, OSPEED => $ospeed };
my $t = Tgetent Term::Cap { TERM => undef, OSPEED => $ospeed };
my ( $norm, $bold, $under ) = map { $t->Tputs( $_, 1 ) } qw/me md us/;
say << "HELP";
${bold}NAME$norm
Expand Down
2 changes: 1 addition & 1 deletion scripts/rest_examples/perl/rest_auth.pl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#To use these, sign up for a PubMLST account (https://pubmlst.org/site_accounts.shtml)
#and link this account with the pubmlst_test_seqdef and pubmlst_test_isolates
#databases (https://pubmlst.org/site_accounts.shtml#registering_with_databases)
#Version 20241031
#Version 20250130
use strict;
use warnings;
use 5.010;
Expand Down
1 change: 1 addition & 0 deletions scripts/rest_examples/python/download_alleles.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# Version 20250130

import argparse
import os
Expand Down
1 change: 1 addition & 0 deletions scripts/rest_examples/python/get_schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# Version 20250130

import requests, re, argparse

Expand Down
2 changes: 1 addition & 1 deletion scripts/rest_examples/python/rest_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# Please note that the consumer key below will only work for access to the
# PubMLST test databases. Please contact [email protected] to obtain your
# own consumer key for use in your own projects.
# Version 20241031
# Version 20250130

CONSUMER_KEY = "rUiQnMtLBZmCAEiCVFCEQeYu"
CONSUMER_SECRET = "W0cCia9SYtHD^hHtWEnQ1iw&!SGg7gdQc8HmHgoMEP"
Expand Down

0 comments on commit 1f6dc7e

Please sign in to comment.