Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make keywords required in input file methods #43

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion meshpy/inputfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ def delete_section(self, section_name):
else:
raise Warning("Section {} does not exist!".format(section_name))

def write_input_file(self, file_path, nox_xml_file=None, **kwargs):
def write_input_file(self, file_path, *, nox_xml_file=None, **kwargs):
"""
Write the input to a file.

Expand Down Expand Up @@ -691,6 +691,7 @@ def write_input_file(self, file_path, nox_xml_file=None, **kwargs):

def get_dat_lines(
self,
*,
header=True,
dat_header=True,
add_script_to_header=True,
Expand Down