We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b5e18d commit e654428Copy full SHA for e654428
arc/scheduler.py
@@ -784,7 +784,19 @@ def run_job(self,
784
self.deduce_job_adapter(level=Level(repr=level_of_theory), job_type=job_type)
785
args = {'keyword': {}, 'block': {}}
786
if trsh:
787
- args['trsh'] = {'trsh': trsh}
+ if isinstance(trsh, (str, list)):
788
+ args['trsh'] = {'trsh': trsh}
789
+ elif isinstance(trsh, dict) and 'trsh' in args:
790
+ for key, value in trsh.items():
791
+ if key in args['trsh']:
792
+ if isinstance(args['trsh'][key], list) and isinstance(value, list):
793
+ args['trsh'][key].extend(value)
794
+ else:
795
+ args['trsh'][key] = value
796
797
798
799
+ args['trsh'] = trsh
800
if shift:
801
args['shift'] = shift
802
if scan_trsh:
0 commit comments