ihmwg / python-ihm

Python package for handling IHM mmCIF and BinaryCIF files
MIT License
14 stars 7 forks source link

Don't require unique ihm_modeling_post_process.analysis_id #101

Closed benmwebb closed 1 year ago

benmwebb commented 1 year ago

Currently the reader expects that _ihm_modeling_post_process.analysis_id uniquely identifies an Analysis object. However, analysis_id only has to be unique within a given Protocol. e.g. the following should result in two Protocol objects, each with a (unique) Analysis:

loop_
_ihm_modeling_post_process.id
_ihm_modeling_post_process.protocol_id
_ihm_modeling_post_process.analysis_id
_ihm_modeling_post_process.step_id
_ihm_modeling_post_process.type
_ihm_modeling_post_process.feature
_ihm_modeling_post_process.num_models_begin
_ihm_modeling_post_process.num_models_end
_ihm_modeling_post_process.struct_assembly_id
_ihm_modeling_post_process.dataset_group_id
_ihm_modeling_post_process.software_id
_ihm_modeling_post_process.script_file_id
_ihm_modeling_post_process.details
1 1 1 1 filter other . 2 1 1 1 . .
2 2 1 1 filter other . 2 1 1 1 . .