Skip to content

Commit

Permalink
Merge pull request #463 from maxulysse/dev_lint
Browse files Browse the repository at this point in the history
fix: nf-core lint - add dark/light for logos
  • Loading branch information
maxulysse authored Dec 7, 2021
2 parents 6f05f41 + b17263b commit 39f0974
Show file tree
Hide file tree
Showing 12 changed files with 725 additions and 386 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ jobs:
NXF_ANSI_LOG: false
strategy:
matrix:
# Nextflow versions: check pipeline minimum and latest edge version
nxf_ver:
- 'NXF_VER=21.10.3'
# - 'NXF_EDGE=1'
# Nextflow versions
include:
# Test pipeline minimum Nextflow version
- NXF_VER: '21.10.3'
NXF_EDGE: ''
# Test latest edge release of Nextflow
- NXF_VER: ''
NXF_EDGE: '1'
test:
- 'aligner'
- 'annotation'
Expand All @@ -39,12 +43,14 @@ jobs:
- name: Install Nextflow
env:
CAPSULE_LOG: none
NXF_VER: ${{ matrix.NXF_VER }}
# Uncomment only if the edge release is more recent than the latest stable release
# See https://github.com/nextflow-io/nextflow/issues/2467
# NXF_EDGE: ${{ matrix.NXF_EDGE }}
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
export ${{ matrix.nxf_ver }}
nextflow self-update
- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down
5 changes: 3 additions & 2 deletions .nf-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ lint:
files_unchanged:
- .github/workflows/linting.yml
- assets/multiqc_config.yaml
- assets/nf-core-sarek_logo.png
- docs/images/nf-core-sarek_logo.png
- assets/nf-core-sarek_logo_light.png
- docs/images/nf-core-sarek_logo_dark.png
- docs/images/nf-core-sarek_logo_light.png
- lib/NfcoreTemplate.groovy
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [![nf-core/sarek](docs/images/nf-core-sarek_logo.png "nf-core/sarek")](https://nf-co.re/sarek)
# ![nf-core/sarek](docs/images/nf-core-sarek_logo_light.png#gh-light-mode-only) ![nf-core/sarek](docs/images/nf-core-sarek_logo_dark.png#gh-dark-mode-only)

> **An open-source analysis pipeline to detect germline or somatic variants from whole genome or targeted sequencing**
Expand Down
Binary file removed assets/nf-core-sarek_logo.png
Binary file not shown.
Binary file added assets/nf-core-sarek_logo_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/sendmail_template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ $email_html
Content-Type: image/png;name="nf-core-sarek_logo.png"
Content-Transfer-Encoding: base64
Content-ID: <nfcorepipelinelogo>
Content-Disposition: inline; filename="nf-core-sarek_logo.png"
Content-Disposition: inline; filename="nf-core-sarek_logo_light.png"

<% out << new File("$projectDir/assets/nf-core-sarek_logo.png").
<% out << new File("$projectDir/assets/nf-core-sarek_logo_light.png").
bytes.
encodeBase64().
toString().
Expand Down
Binary file removed docs/images/nf-core-sarek_logo.png
Binary file not shown.
375 changes: 0 additions & 375 deletions docs/images/nf-core-sarek_logo.svg

This file was deleted.

Binary file added docs/images/nf-core-sarek_logo_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
352 changes: 352 additions & 0 deletions docs/images/nf-core-sarek_logo_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/nf-core-sarek_logo_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
355 changes: 355 additions & 0 deletions docs/images/nf-core-sarek_logo_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 39f0974

Please sign in to comment.