We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c22dbf0 commit d183c58Copy full SHA for d183c58
dfttopif/parsers/base.py
@@ -109,31 +109,6 @@ def get_result_functions(self):
109
'Stresses': 'get_stresses'
110
}
111
112
- def _call_ase(self, func, directory):
113
- '''Make a call to an ASE function.
114
-
115
- Note: I'm about to kill this function, once I'm done with the overhaul
116
- ASE assumes filenames, which we do not want
117
118
- Handles changing directories
119
120
- Returns: Result of ASE function
121
- '''
122
- # Change directories
123
- old_path = os.getcwd()
124
- os.chdir(directory)
125
126
- # Call function
127
- try:
128
- res = func()
129
- except:
130
- os.chdir(old_path)
131
- raise
132
133
- # Change back
134
135
- return res
136
137
def get_name(self):
138
'''Get the name of this program'''
139
raise NotImplementedError
0 commit comments