Skip to content

Conversation

@wow-such-code
Copy link
Member

@wow-such-code wow-such-code commented Aug 26, 2022

Changes to handle ONT schema v3

Added:

  • Report HTML Log
  • Report JSON Log
  • Pore Activity Log
  • Sample Sheet Log
  • Pore Scan Data Log (in other_reports folder)

Removed (from schema, not from model - backwards compatibility):

  • report pdf
  • duty_time csv
  • mux_scan_data csv (in other_reports folder)
  • drift_correction csv (in other_reports folder)

@wow-such-code wow-such-code marked this pull request as ready for review October 7, 2022 12:51
@wow-such-code wow-such-code requested a review from a team as a code owner October 7, 2022 12:51
Copy link
Contributor

@Steffengreiner Steffengreiner left a comment

Choose a reason for hiding this comment

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

@wow-such-code Nicely Done, I'll make some minor adjustments and merge and resolve the datastructure :)

Comment on lines 449 to 482
"drift_correction_log": {
"allOf": [
{
"$ref": "#/definitions/file"
},
{
"properties": {
"name": {
"pattern": "drift_correction_.*"
},
"file_type": {
"pattern": "csv"
}
}
}
]
},
"duty_time_log": {
"allOf": [
{
"$ref": "#/definitions/file"
},
{
"properties": {
"name": {
"pattern": "duty_time_.*"
},
"file_type": {
"pattern": "csv"
}
}
}
]
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"drift_correction_log": {
"allOf": [
{
"$ref": "#/definitions/file"
},
{
"properties": {
"name": {
"pattern": "drift_correction_.*"
},
"file_type": {
"pattern": "csv"
}
}
}
]
},
"duty_time_log": {
"allOf": [
{
"$ref": "#/definitions/file"
},
{
"properties": {
"name": {
"pattern": "duty_time_.*"
},
"file_type": {
"pattern": "csv"
}
}
}
]
},

These two can be removed since they are not present in the new datastructure 👀

Comment on lines 551 to 567
"mux_scan_data_log": {
"allOf": [
{
"$ref": "#/definitions/file"
},
{
"properties": {
"name": {
"pattern": "mux_scan_data_.*"
},
"file_type": {
"pattern": "csv"
}
}
}
]
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"mux_scan_data_log": {
"allOf": [
{
"$ref": "#/definitions/file"
},
{
"properties": {
"name": {
"pattern": "mux_scan_data_.*"
},
"file_type": {
"pattern": "csv"
}
}
}
]
},

Also not present anymore in the new structure

Comment on lines 126 to 128
"name": "report_test.html",
"path": "./20200122_1217_1-A1-B1-PAE12345_1234567a/report_test.html",
"file_type": "pdf"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"name": "report_test.html",
"path": "./20200122_1217_1-A1-B1-PAE12345_1234567a/report_test.html",
"file_type": "pdf"
"name": "report_test.html",
"path": "./20200122_1217_1-A1-B1-PAE12345_1234567a/report_test.html",
"file_type": "html"

import life.qbic.datamodel.datasets.datastructure.files.DataFile

/**
* A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file
* A specialisation of a DataFile, represents an Oxford Nanopore report HTML log file

import life.qbic.datamodel.datasets.datastructure.files.DataFile

/**
* A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file
* A specialisation of a DataFile, represents an Oxford Nanopore report Json log file

/**
* A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file
*
* @author: Sven Fillinger
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* @author: Sven Fillinger

/**
* A specialisation of a DataFile, represents an Oxford Nanopore report PDF log file
*
* @author: Sven Fillinger
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* @author: Sven Fillinger

@Steffengreiner Steffengreiner self-requested a review October 11, 2022 12:33
Copy link
Contributor

@Steffengreiner Steffengreiner left a comment

Choose a reason for hiding this comment

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

I mean it's good 👍

@Steffengreiner Steffengreiner merged commit da00d85 into development Oct 11, 2022
Steffengreiner added a commit that referenced this pull request Oct 13, 2022
* increase snapshot to 2.20.0

* Adjust Nf-core pipeline result to account for sarekv3 file structure

* Remove replacement of hyphens with underscores in project spaces (#326)

* add digiwest property tpes

* Support nanopore data structure v3 (#328)

* add new version of valid nanopore structure

* implement additional v3 changes

* Update schema and test to current file structure

Co-authored-by: Steffengreiner <[email protected]>

* Fix Nanopore Schema V3 naming and streamline children of other report definition

* Adapt schema and add test case for mibi datastructure

Co-authored-by: wow-such-code <[email protected]>
Steffengreiner added a commit that referenced this pull request Oct 13, 2022
* Prepare Version 2.20.0 (#325)

* increase snapshot to 2.20.0

* Adjust Nf-core pipeline result to account for sarekv3 file structure

* Remove replacement of hyphens with underscores in project spaces (#326)

Co-authored-by: wow-such-code <[email protected]>

* Update version to 2.20.0 (#327)

* Set version to 2.20.0

* remove unnessary whitespace

Co-authored-by: Steffengreiner <[email protected]>

* Release/2.21.0 (#331)

* increase snapshot to 2.20.0

* Adjust Nf-core pipeline result to account for sarekv3 file structure

* Remove replacement of hyphens with underscores in project spaces (#326)

* add digiwest property tpes

* Support nanopore data structure v3 (#328)

* add new version of valid nanopore structure

* implement additional v3 changes

* Update schema and test to current file structure

Co-authored-by: Steffengreiner <[email protected]>

* Fix Nanopore Schema V3 naming and streamline children of other report definition

* Adapt schema and add test case for mibi datastructure

Co-authored-by: wow-such-code <[email protected]>

* Set version to 2.21.0 (#332)

Co-authored-by: wow-such-code <[email protected]>
Co-authored-by: Johnny Q5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants