Skip to content

Commit

Permalink
Make sort_traces compatible with @apply_to_each_component
Browse files Browse the repository at this point in the history
  • Loading branch information
dpodvyaznikov committed Feb 1, 2020
1 parent d89b904 commit 964f88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seismicpro/src/seismic_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def _sort(self, index, src, sort_by, current_sorting, dst=None):

@action
@apply_to_each_component
def sort_traces(self, *args, src, sort_by, dst):
def sort_traces(self, *args, src, sort_by, dst=None):
"""Sort traces.
Parameters
Expand Down

0 comments on commit 964f88d

Please sign in to comment.