Skip to content

Commit

Permalink
uses /blob instead of /tree to check for files
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Mar 4, 2024
1 parent e235fae commit 0eb5dec
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions public_html/pipeline_health.php
Original file line number Diff line number Diff line change
Expand Up @@ -677,10 +677,10 @@ public function test_files_exist() {
'https://raw.githubusercontent.com/nf-core/' . $this->name . '/dev/nextflow_schema.json',
);
$this->has_dsl2_modules_dir = $this->check_url(
'https://github.com/nf-core/' . $this->name . '/tree/dev/modules',
'https://github.com/nf-core/' . $this->name . '/blob/dev/modules',
);
$this->has_nf_test = $this->check_url(
'https://github.com/nf-core/' . $this->name . '/tree/dev/nf-test.config',
'https://github.com/nf-core/' . $this->name . '/blob/dev/tests/main.nf.test',
);
$this->has_nf_test_dev = $this->has_nf_test;

Expand All @@ -707,13 +707,13 @@ public function test_files_exist() {
'/nextflow_schema.json',
);
$this->has_dsl2_modules_dir = $this->check_url(
'https://github.com/nf-core/' . $this->name . '/tree/' . $this->last_release->tag_name . '/modules',
'https://github.com/nf-core/' . $this->name . '/blog/' . $this->last_release->tag_name . '/modules',
);
$this->has_nf_test = $this->check_url(
'https://github.com/nf-core/' . $this->name . '/tree/' . $this->last_release->tag_name . '/nf-test.config',
'https://github.com/nf-core/' . $this->name . '/blog/' . $this->last_release->tag_name . '/nf-test.config',
);
$this->has_nf_test_dev = $this->check_url(
'https://github.com/nf-core/' . $this->name . '/tree/dev/nf-test.config',
'https://github.com/nf-core/' . $this->name . '/blog/dev/nf-test.config',
);
// Save the cache
$files_404_cache = [
Expand Down

0 comments on commit 0eb5dec

Please sign in to comment.