-
Notifications
You must be signed in to change notification settings - Fork 19
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
Issue in Running the xtb’s Conformer Rotamer Ensemble Sampling Tool ( CREST ) #39
Comments
Could you paste the contents of |
Hello, The python file which i am running is here. |
Could you attempt running xTB/CREST outside of ISiCLE? I.e. from the command line, for example:
Where
|
Yes it runs successfully giving the output on the terminal.
As this is the step where the run time error was getting generated earlier. |
Apolgies for the delay. The below runs okay on my end, both within ISiCLE and directly on the command line. Could you paste your XYZ file here? It wasn't clear based on the files you shared.
|
This Command line runs smoothly while running on terminal and generates the output file properly. But the issue is since the isicle code is integrated with python programming i am unable to figure out how to move to the next step as per the manual guide to get conformers stored in my conformer variable as while running the python code it generates error. After running the command and getting the output file how to perform the below parse operation to extract relevant information using the .out file ? The Parse function at which the python code was unable to read output file is shown below. I am not able to understand this.
|
Could you try running the isicle code without To answer your question though, you can initialize the parser as follows: parser = isicle.parse.XTBParser()
parser.load("/path/to/file.out")
result = parser.parse() |
While writing the code as per the User's Guide for NMR Chemical Shift Calculation in CREST Conformational Ensembles , there is a runtime error being raised. The jupyter notebook file is here
RuntimeError Traceback (most recent call last)
Cell In[5], line 1
----> 1 conformer = geom.md(forcefield='gff',
2 ewin = 3,
3 task = 'conformer',
4 solvation = 'water',
5 processes = 4)
File ~/anaconda3/isicle/isicle/geometry.py:110, in XYZGeometry.md(self, program, **kwargs)
93 def md(self, program="xtb", **kwargs):
94 """
95 Optimize geometry or generate conformers or adducts using stated forcefield.
96
(...)
107
108 """
--> 110 return isicle.md.md(self, program=program, **kwargs)
File ~/anaconda3/isicle/isicle/md.py:66, in md(geom, program, **kwargs)
49 """
50 Optimize geometry via molecular dyanmics using supplied forcefield
51 and basis set.
(...)
62
63 """
65 # Select program
---> 66 return _program_selector(program).run(geom, **kwargs)
File ~/anaconda3/isicle/isicle/md.py:444, in XTBWrapper.run(self, geom, **kwargs)
441 self.submit()
443 # Finish/clean up
--> 444 self.finish()
446 return self
File ~/anaconda3/isicle/isicle/md.py:394, in XTBWrapper.finish(self)
391 parser.load(os.path.join(self.temp_dir, self.basename + ".out"))
392 self.output = parser.load(os.path.join(self.temp_dir, self.basename + ".out"))
--> 394 result = parser.parse()
396 self.dict.update(result)
398 for i in self.geom:
File ~/anaconda3/isicle/isicle/parse.py:1185, in XTBParser.parse(self)
1183 # Check that the file is valid first
1184 if len(self.contents) == 0:
-> 1185 raise RuntimeError("No contents to parse: {}".format(self.path))
1187 last_lines = "".join(self.contents[-10:])
1188 if (
1189 ("terminat" not in last_lines)
1190 & ("normal" not in last_lines)
1191 & ("ratio" not in last_lines)
1192 ):
RuntimeError: No contents to parse: /tmp/isicle/tmpe7k4q63_/DMS.out
The text was updated successfully, but these errors were encountered: