Skip to content

Commit

Permalink
Merge pull request #543 from bruceravel/master
Browse files Browse the repository at this point in the history
small change to athena project writing for consistency with Athena
  • Loading branch information
newville authored Nov 26, 2024
2 parents 8df088d + a7b7076 commit 0b2dd56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions larch/io/athena_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ def make_athena_args(group, hashkey=None, **kws):
args[k] = v

args['datagroup'] = args['tag'] = args['label'] = hashkey
if not group.__name__.startswith('0x'):
args['label'] = group.__name__
en = getattr(group, 'energy', [])
args['npts'] = len(en)
if len(en) > 0:
Expand Down

0 comments on commit 0b2dd56

Please sign in to comment.