get_species_taxids does not print all information when invoked with -n

Bug #1934402 reported by Andrew Robbins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ncbi-blast+ (Ubuntu)
New
Undecided
Unassigned

Bug Description

On ubuntu 20.04.2, ncbi-blast+ 2.9.0-2

It appears that the parsing logic in the script was broken by the ncbi entrez api at some point. When running this script with -n [species], it returns the number of results and no more. Running the script included with the latest version, 2.12.0, functions correctly with its modified parsing.

Best way to resolve this is likely to just put the 2.12.0 script in the package. Attached.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ncbi-blast+ 2.9.0-2
ProcVersionSignature: Ubuntu 5.8.0-1036.38~20.04.1-azure 5.8.18
Uname: Linux 5.8.0-1036-azure x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Jul 1 20:15:40 2021
InstallationDate: Installed on 2021-06-29 (1 days ago)
InstallationMedia: Ubuntu-Server 20.04.2 LTS "Focal Fossa" - Release amd64 (20210201.2)
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
SourcePackage: ncbi-blast+
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Andrew Robbins (ato-1npr3w-n1b) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "script from 2.12.0" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Andrew Robbins (ato-1npr3w-n1b) wrote :

Attached proposed patch. Should probably send to upstream.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.