Skip to content

Commit

Permalink
fixed bug and improved asvp writer
Browse files Browse the repository at this point in the history
  • Loading branch information
giumas committed Feb 27, 2024
1 parent 3b9a0ec commit d4893ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions hyo2/ssm2/lib/formats/writers/asvp.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class Asvp(AbstractTextWriter):

def __init__(self):
super(Asvp, self).__init__()
self.name = "asvp/ssp"
self.desc = "Kongsberg"
self._ext.add('asvp')
self._ext.add('abs')
Expand Down
1 change: 1 addition & 0 deletions hyo2/ssm2/lib/profile/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ def cosine_smooth(self):
verbose = False # set to True for verbose intermediate steps

valid_and_smoothed = self.proc.source[self.proc_valid] == Dicts.sources['smoothing']
# PLEASE IGNORE THE WARNING 'PEP8: E712'
# noinspection PyUnresolvedReferences
if (valid_and_smoothed == True).all():
return
Expand Down

0 comments on commit d4893ab

Please sign in to comment.