Skip to content
Snippets Groups Projects
Commit d43c0032 authored by Erin (Josh) Rigler's avatar Erin (Josh) Rigler
Browse files

Merge branch 'revert-868212a3' into 'master'

Revert "Merge branch 'adjusted-fix' into 'master'"

See merge request !9
parents 868212a3 b5dda0ff
No related branches found
No related tags found
1 merge request!9Revert "Merge branch 'adjusted-fix' into 'master'"
Pipeline #17785 passed
...@@ -169,15 +169,17 @@ class AdjustedAlgorithm(Algorithm): ...@@ -169,15 +169,17 @@ class AdjustedAlgorithm(Algorithm):
return True return True
# check validity of remaining channels # check validity of remaining channels
for c in channels: if np.all(
if c != "F" and ( [
super().can_produce_data(starttime, endtime, stream.select(channel=c)) super().can_produce_data(starttime, endtime, stream.select(channel=c))
== False for c in channels
): if c != "F"
return False ]
):
return True
# return false if F or remaining channels cannot produce data # return false if F or remaining channels cannot produce data
return True return False
@classmethod @classmethod
def add_arguments(cls, parser): def add_arguments(cls, parser):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment