Skip to content

Commit

Permalink
Remove temporary testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
dsenalik committed Nov 6, 2023
1 parent ac0008c commit 43b1403
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tripal_chado/src/Plugin/TripalImporter/TaxonomyImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,6 @@ private function updateExisting($root_taxon = NULL) {
if (!empty($api_key)) {
$search_url .= "&api_key=" . $api_key;
}
$ffh = fopen('https://will.fail. .surely', "r"); // Try to trigger the failure but not affect loading
$rfh = NULL;
// Query NCBI. To accomodate occasional glitches, retry up to three times.
$retries = 3;
Expand Down Expand Up @@ -807,7 +806,6 @@ private function importRecord($taxid, $root_taxon = NULL, $organism = NULL) {

// Query NCBI. To accomodate occasional glitches, retry up to three times.
$xml = FALSE;
$ffh = fopen('https://will.fail. .surely', "r"); // Try to trigger the failure but not affect loading
$rfh = NULL;
$retries = 3;
while (($retries > 0) and (!$rfh)) {
Expand Down

0 comments on commit 43b1403

Please sign in to comment.