Skip to content

Added units to report#176

Merged
almahans merged 2 commits intoNationalGenomicsInfrastructure:masterfrom
almahans:master
Feb 9, 2026
Merged

Added units to report#176
almahans merged 2 commits intoNationalGenomicsInfrastructure:masterfrom
almahans:master

Conversation

@almahans
Copy link
Contributor

@almahans almahans commented Feb 3, 2026

Added sequencing units for flowcells "Universal-XX" instead of lanes.

Added sequencing units for flowcells "Universal-XX" instead of lanes.
Comment on lines +37 to 41
Ordered sequencing units
: {{ project.num_lanes }} unit{% if project.num_lanes > 1 %}s{% endif %}
{% elif "illumina" in project.sequencer_manufacturer or "element" in project.sequencer_manufacturer -%}
Ordered lanes
: {{ project.num_lanes }} lane{% if project.num_lanes > 1 %}s{% endif %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we keep Ordered Lanes too for Illumina? They seem to have the same value.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aanil Its inside the 'elif' though so it would be the cases where it's not using universal units right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly, either it's illumina and uses sequencing units, or illumina/element and uses lanes as before

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we could condense the first condition down to
{% if project.unit_type -%}
since it'll always be set if we are using sequencing units.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather check for the specific value of unit_type then:
if project.unit_type == "Sequencing units" or
if project.unit_type != ""
Just to make it a bit more explicit.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure! Then we need to account for ONT too somehow.

Added unit_type flowcell for ONT data
@almahans almahans requested review from aanil and alneberg February 4, 2026 14:09
Copy link
Member

@alneberg alneberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good now!

Copy link
Member

@aanil aanil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@almahans almahans merged commit ef72df3 into NationalGenomicsInfrastructure:master Feb 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants