Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheshuk committed May 15, 2024
1 parent 5603c22 commit 1ded0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/snewpy/models/ccsn.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def _metadata_from_filename(self, filename:str)->dict:
def __init__(self, *, progenitor_mass:u.Quantity):
filename = f's{progenitor_mass.value:g}.dat'
#tag if this simulation forms a black hole
self.metadata['Black hole'] = self.filename[:-4] not in ['s18','s25']
self.metadata['Black hole'] = filename[:-4] not in ['s18','s25']
return super().__init__(filename, self.metadata)

@deprecated('eos')
Expand Down

0 comments on commit 1ded0d9

Please sign in to comment.