Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Batmen Tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sepia-pub
mael
Batmen Tools
Commits
1c6f7a53
Commit
1c6f7a53
authored
2 years ago
by
Igor Fontana de Nardin
Browse files
Options
Downloads
Patches
Plain Diff
Removed the walltime >= run_time filter
parent
f5f28ae9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
batmenTools/swf_filter.py
+1
-2
1 addition, 2 deletions
batmenTools/swf_filter.py
with
1 addition
and
2 deletions
batmenTools/swf_filter.py
+
1
−
2
View file @
1c6f7a53
...
...
@@ -51,8 +51,7 @@ def filter_workload(input_swf:str, output_swf:str=None,
partition_id
=
int
(
res
.
group
(
SwfField
.
PARTITION_ID
.
value
))
# Select jobs to keep
is_valid_job
=
(
nb_res
>
0
and
walltime
>=
run_time
and
run_time
>=
0
and
submit_time
>=
0
)
is_valid_job
=
(
nb_res
>
0
and
run_time
>=
0
and
submit_time
>=
0
)
select_partition
=
((
partitions_to_select
is
None
)
or
(
partition_id
in
partitions_to_select
))
use_job
=
select_partition
and
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment