Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
LucR31 committed Aug 13, 2024
1 parent 1c97ca9 commit 98b5007
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions aiida_flexpart/calculations/inversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ def prepare_for_submission(self, folder):
#create dict for yaml, add remotes by location
remote_dict = {}
for k,v in self.inputs.remotes.items():
if k.split("-")[0] in remote_dict.keys():
remote_dict[k.split("-")[0]].append(v.attributes["remote_path"]+'/'+k)
if k.split("_")[0] in remote_dict.keys():
remote_dict[k.split("_")[0]].append(v.attributes["remote_path"]+'/'+k)
else:
remote_dict[k.split("-")[0]] = [v.attributes["remote_path"]+'/'+k]
remote_dict[k.split("_")[0]] = [v.attributes["remote_path"]+'/'+k]

params_dict = self.inputs.inv_params.get_dict()
for k,v in remote_dict.items():
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ docs = [
"flexpart.cosmo" = "aiida_flexpart.calculations.flexpart_cosmo:FlexpartCosmoCalculation"
"flexpart.ifs" = "aiida_flexpart.calculations.flexpart_ifs:FlexpartIfsCalculation"
"flexpart.post" = "aiida_flexpart.calculations.flexpart_post:PostProcessingCalculation"
"collect.sensitivities" = "aiida_flexpart.calculations.collect_sens:CollectSensCalculation"
"collect.sensitivities" = "aiida_flexpart.calculations.collect_sens:CollectSensitivitiesCalculation"
"inversion.calc" = "aiida_flexpart.calculations.inversion:Inversion"

[project.entry-points."aiida.parsers"]
Expand Down

0 comments on commit 98b5007

Please sign in to comment.