Skip to content

Commit

Permalink
Merge pull request #77 from ghrcdaac/mlh0079-cloud-ext
Browse files Browse the repository at this point in the history
Mlh0079 cloud ext
  • Loading branch information
sflynn-itsc authored Feb 11, 2025
2 parents 693717c + 7e1e286 commit d4decd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dmrpp_generator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def process_dmrpp_ebs(self):
'key': dest,
'size': os.path.getsize(dest)
})
dmrpp_files.clear()

shutil.move(event_file, f'{event_file}.dmrpp.in')
with open(event_file, 'w+') as file:
Expand Down Expand Up @@ -303,7 +304,7 @@ def dmrpp_generate(self, input_file, local=False, dmrpp_meta=None, args=None):


def main(event, context):
dmrpp = DMRPPGenerator(**event)
dmrpp = DMRPPGenerator(input=event.get('input'), config=event.get('config'))
try:
ret = dmrpp.process()
finally:
Expand Down

0 comments on commit d4decd8

Please sign in to comment.