Skip to content
Snippets Groups Projects
Commit 6a08bd7b authored by B13nch3n's avatar B13nch3n
Browse files

Add _ma_model_list.model_group_name

parent 79ccf5b5
No related branches found
No related tags found
No related merge requests found
......@@ -306,6 +306,12 @@ def _get_model_details(gene_names):
)
def _get_model_group_name():
"""Get a name for a model group."""
return "Crosslinked Heterodimer Multimer v2 Models"
def _get_sequence(chn):
"""Get the sequence out of an OST chain."""
# initialise
......@@ -595,7 +601,7 @@ def _store_as_modelcif(interaction_name, data_json, ost_ent, file_prfx):
# ToDo [input]: Get name
model_group = modelcif.model.ModelGroup(
[model], name="ma_model_list.model_group_name"
[model], name=data_json["model_group_name"]
)
system.model_groups.append(model_group)
......@@ -632,6 +638,7 @@ def _create_model_json(data, pdb_file, up_acs):
gns.append(i["up_gn"])
data["title"] = _get_title(gns)
data["model_details"] = _get_model_details(gns)
data["model_group_name"] = _get_model_group_name()
return ost_ent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment