Comments (4)
Optimum would be if Nextflow can determine where the error
calls come from and figure out if it's coming from pipeline source code. Could then prefix with manifest.name
if set.
Then no change to pipeline source code would be required.
from nextflow.
These are two slightly different beasts. For the logger, it could be as simple as modifying the layout of messages. Although, we would then need two different loggers, one (or more) for core nextflow and another exposed to the pipeline that can be customized without affecting the others.
I don't know for sure, but I'm guessing that errors do not use logging facilities and thus need to be customized separately. Or indeed define a simple function/class method that performs some message layouting and then exits with an error code.
from nextflow.
Yes, sorry to be clear: I'm aware that the logging and error message are generated in two separate ways.
I meant more that in this case, given I'm requesting that pipeline developers can define their own errors or warnings, these should follow a common structure for familiarity for the pipeline user.
from nextflow.
Adding my comment here:
nf-core/fetchngs#309 (comment)
One of my issues was that something ends up in the channel too if ifEmpty
is used. Although this might well be solved with DSL3.
from nextflow.
Related Issues (20)
- The user-provided path .command.log does not exist.
- Undocumented behavior - Duplicated workflow parameters when using specific naming conventions HOT 1
- Commit tag `[ci fast]` is not working anymore
- singularity Unknown image format/type in nextflow pipeline
- Improve stability of virtual threads at scale
- Issue Debuging pulling from a Private repo
- Default resources documentation HOT 3
- Inspect command improvement for Singularity HOT 20
- Upgrade libraries on 23.10.1 HOT 6
- Taskbar API is not supported on the current platform error when running console command HOT 8
- Nested config parameters merge/overwrite each other HOT 1
- Extend latest version of nf-ga4gh plugin - most recently published appears to be from Dec. 19 2020 HOT 11
- Can't open Console settings dialog
- Upgrade Nextflow to work with Java 22 HOT 1
- Wave build with singularity results in Docker build, not Singularity build HOT 2
- Postfixing `+` in `nextflow.version.matches()` is not working properly HOT 7
- Failed to publish files to S3 due to `java.nio.file.DirectoryNotEmptyException`
- Request to enable dynamic `cache` directive HOT 4
- the Nextflow DAG should render as a subway plot HOT 1
- Remove 64KB size limit on scripts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextflow.