Skip to content

Commit

Permalink
[BUG] set dynamic tag after call to parent constructor (#2172)
Browse files Browse the repository at this point in the history
* set tag after constructor

* Automatic `pre-commit` fixes

---------

Co-authored-by: TonyBagnall <[email protected]>
  • Loading branch information
TonyBagnall and TonyBagnall authored Oct 10, 2024
1 parent ea4e969 commit 521b7bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aeon/transformations/collection/_periodogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,10 @@ def __init__(
self.use_pyfftw = use_pyfftw
self.n_jobs = n_jobs

super().__init__()
if use_pyfftw:
self.set_tags(**{"python_dependencies": "pyfftw"})

super().__init__()

def _transform(self, X, y=None):
threads_to_use = check_n_jobs(self.n_jobs)

Expand Down

0 comments on commit 521b7bc

Please sign in to comment.