Repository navigation
Conversation
Type lists, numeric enums with defaults, $projectDir path defaults, string-list samplesheet schemas, empty enum values and symbol enum values crashed parse_schema/get_python_type_inner. 124 of 146 current nf-core schemas now run through, up from 55. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
latch generate-metadata --nextflowcrashes on many current nf-core schemas. I ranparse_schema(strict=False)andget_python_type_inneron thenextflow_schema.jsonof 146 nf-core pipelines: 55 run through on main, 124 with this PR. The other 22 stop at a schema file that wasn't downloaded or isn't valid JSON, not in this code.The fixes:
["boolean", "string"](the nf-core template'shelpparameter) raisedValueError, even withstrict=False. It now raisesSchemaParsingError, so non-strict mode warns and skips the parameter, as it does for other unsupported types. 71 pipelines.TypeTransformerFailedError(fastqrepair, hadge, quantms).format: pathparameter with a$projectDir/...default raisedAttributeError(atacseq, chipseq, rnafusion, viralrecon, viralmetagenome).KeyError('properties')(fetchngs).IndexError(diaproteomics, bacmodel).+,-and?mapped to the same identifier and collapsed into one choice (funcscan).Test: 6 new test files fail on main (8 failed, 2 passed) and pass here. Full suite (without
tests/test_ls.py, which needs a token): 78 passed.🤖 Generated with Claude Code
https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N