Comments (5)
I think that we could do something like this:
- Add a
--force
flag togwf run
. When the flag is given, gwf will not do any checks to see if a target should be submitted, but just submit it and their dependencies. - Add a
--no-deps
flag togwf run
. When the flag is given,gwf run
will only submit the targets matching the given pattern, but not their dependencies.
So running gwf run --force --no-deps *my_target*
will submit the matching targets, without their dependencies, and without probing the filesystem for changes.
from gwf.
That sounds great!
I guess --force
would run all dependencies then. Would it make sense to allow setting a number of "dependency levels" to compute? So where --no-deps would be 0, you could allow running N steps down the three?
from gwf.
It's possible, but sounds like a very niche feature :) You could sounds the (almost) same problem by giving the dependencies to gwf run
directly, like gwf run --force '*layer1*' '*layer2*'
, etc., which is already possible.
from gwf.
True! gwf run --force --no-deps
would work for my situation for sure. And force would allow rerunning everything without removing files (could be a mess if it fails midway though).
from gwf.
Great! I have commented on #416 separately.
from gwf.
Related Issues (20)
- time.clock() not available in python 3.9 HOT 1
- time HOT 1
- collections.abc
- After update to 1.8.0: Targets ending in "Shouldrun" even though they finish correctly HOT 2
- Import problem with gwf 1.8.1 HOT 2
- percentage of dependencies complete for targets is always 0.00% HOT 1
- Scheduler resubmits completed jobs (gwf v1.8.5) HOT 1
- gwf touch: unexpected keyword argument 'group' HOT 2
- Allow gwf touch to only touch parts of the graph
- Add "failed" to status -s HOT 4
- Target that should not run yet fails HOT 4
- Update documentation
- Failed targets are not recognized as failed HOT 1
- gwf does not work with python 3.12 HOT 1
- Handle too long target names HOT 2
- Support PathLib paths in targets HOT 1
- Jobs from "completed" moved to "shouldrun" HOT 3
- Running gwf on SGE HOT 3
- (Edited) Option to log context HOT 6
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 gwf.