Member Site › Forums › PyRosetta › PyRosetta – General › generate_nonstandard_residue_set Exception
- This topic has 9 replies, 2 voices, and was last updated 7 years, 6 months ago by Anonymous.
-
AuthorPosts
-
-
June 14, 2017 at 1:28 am #2675Anonymous
generate_nonstandard_residue_set is giving me an error I don’t understand. Can anyone tell what I’m doing wrong here?
In [2]: %paste
from rosetta import *
from pyrosetta import *
init()
params_paths = utility.vector1_string()
params_paths.extend([“GUA.params”])In [3]: nonstandard_residue_set = generate_nonstandard_residue_set( params_paths )
Exception Traceback (most recent call last)
in ()
—-> 1 nonstandard_residue_set = generate_nonstandard_residue_set(params_paths)pyrosetta/__init__.pyc in generate_nonstandard_residue_set(params_list)
299 # ChemicalManager.get_instance().mm_atom_type_set(“fa_standard”),
300 # ChemicalManager.get_instance().orbital_type_set(“fa_standard”),)
–> 301 res_set.read_files_for_custom_residue_types(Vector1(params_list))
302 return res_set
303pyrosetta/__init__.pyc in Vector1(list_in)
247 else:
248 raise Exception(‘Vector1: attemting to create vector of unknow type ‘ +
–> 249 ‘or mixed type vector init_list = ‘ + str(list_in))
250
251 v = t()Exception: Vector1: attemting to create vector of unknow type or mixed type vector init_list = vector1_std_string[GUA.params]
-
June 15, 2017 at 5:36 pm #12408Anonymous
The PyRosetta team is taking a look at it.
-
June 15, 2017 at 5:36 pm #12929Anonymous
The PyRosetta team is taking a look at it.
-
June 15, 2017 at 5:36 pm #13450Anonymous
The PyRosetta team is taking a look at it.
-
June 15, 2017 at 7:57 pm #12412Anonymous
Cobbling together their responses:
“
It looks like generate_nonstandard_residue_set is expecting Python list as input – and code give it vector1 so thats why it fail…
in example…`v` need to be Python list of string not a vector1 object.
Also: for future ref: there is not need to create utility.vector1_string() by hand, instead pyrosetta.Vector1() could be called…
“
If you can’t figure out what that means, I’ll get Sergey to come answer directly.
-
June 15, 2017 at 7:57 pm #12933Anonymous
Cobbling together their responses:
“
It looks like generate_nonstandard_residue_set is expecting Python list as input – and code give it vector1 so thats why it fail…
in example…`v` need to be Python list of string not a vector1 object.
Also: for future ref: there is not need to create utility.vector1_string() by hand, instead pyrosetta.Vector1() could be called…
“
If you can’t figure out what that means, I’ll get Sergey to come answer directly.
-
June 15, 2017 at 7:57 pm #13454Anonymous
Cobbling together their responses:
“
It looks like generate_nonstandard_residue_set is expecting Python list as input – and code give it vector1 so thats why it fail…
in example…`v` need to be Python list of string not a vector1 object.
Also: for future ref: there is not need to create utility.vector1_string() by hand, instead pyrosetta.Vector1() could be called…
“
If you can’t figure out what that means, I’ll get Sergey to come answer directly.
-
June 16, 2017 at 7:23 pm #12420Anonymous
This worked:
nonstandard_residue_set = generate_nonstandard_residue_set([“GUA.params”])Wow, that was easy.
I think this must be out of date:
http://graylab.jhu.edu/pyrosetta/downloads/documentation/PyRosetta_Tutorial_2012.pdfThanks guys!
-
June 16, 2017 at 7:23 pm #12941Anonymous
This worked:
nonstandard_residue_set = generate_nonstandard_residue_set([“GUA.params”])Wow, that was easy.
I think this must be out of date:
http://graylab.jhu.edu/pyrosetta/downloads/documentation/PyRosetta_Tutorial_2012.pdfThanks guys!
-
June 16, 2017 at 7:23 pm #13462Anonymous
This worked:
nonstandard_residue_set = generate_nonstandard_residue_set([“GUA.params”])Wow, that was easy.
I think this must be out of date:
http://graylab.jhu.edu/pyrosetta/downloads/documentation/PyRosetta_Tutorial_2012.pdfThanks guys!
-
-
AuthorPosts
- You must be logged in to reply to this topic.