-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite
FromQEOutput
to QEConverter
, deprecate converter
- Loading branch information
1 parent
5135c72
commit b29960c
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
export converter | ||
export QEConverter | ||
|
||
@pymutable FromQEOutput | ||
FromQEOutput(inp_file_list, inp_static, inp_q_points) = | ||
FromQEOutput(qha_input_maker.FromQEOutput(inp_file_list, inp_static, inp_q_points)) | ||
abstract type Converter end | ||
@pymutable QEConverter Converter | ||
QEConverter(inp_file_list, inp_static, inp_q_points) = | ||
QEConverter(qha_input_maker.FromQEOutput(inp_file_list, inp_static, inp_q_points)) | ||
|
||
function converter(inp_file_list, inp_static, inp_q_points) | ||
conv = FromQEOutput(inp_file_list, inp_static, inp_q_points) | ||
function (conv::QEConverter) | ||
conv.read_file_list() | ||
conv.read_static() | ||
conv.read_q_points() | ||
conv.read_frequency_files() | ||
return conv.write_to_file() | ||
conv.write_to_file() | ||
return nothing | ||
end |