pgb_liv\php_ms\Reader\MgfReader::parseMeta
Parses the meta information from the scan and writes it to the precursor entry
Signature
private function parseMeta(PrecursorIon
$precursor )
Parameters
$precursor
— pgb_liv\php_ms\Core\Spectra\PrecursorIon
The precursor to append to
Test Coverage
Information
- Coverage: 23/26 Lines (88.461538461538%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MgfReaderTest::testCanRetrieveEntry
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\MgfReaderTest::testCanRewind
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
229 - 231 | ElseExpression | The method parseMeta uses an else expression. Else is never necessary and you can simplify the code to work without else. |