Skip to content

Static declaration of "rules" for IO in calculators

Ask Hjorth Larsen requested to merge fileio-rules into master

The current ArgvProfile won't work for all calculators since its options are static whereas calculators normally want to append an inputfile or other options, or redirect some streams.

This MR adds (for the calculators I can test) a little FileIORules dataclass which calculators can use to declare the information that ArgvProfile needs. It also allows SocketIOCalculator to work with the ArgvProfile.

Checklist

Edited by Ask Hjorth Larsen

Merge request reports