Following up on the recent addition of the data_id field to _ma_associated_archive_file_details and _ma_entry_associated_files (see commit added to v1.4.4 of ModelCIF)...
I think one could have a function in modelcif.associated.File which enables an instance of modelcif.data.Data (or its subclasses) to be added to it and the dumper would then use this to assign a data_id in the appropriate table. Do you think this would work?
We have a few use cases in ModelArchive which could benefit from this and one of them is a conversion I am currently doing.
Following up on the recent addition of the
data_id
field to_ma_associated_archive_file_details
and_ma_entry_associated_files
(see commit added to v1.4.4 of ModelCIF)...I think one could have a function in
modelcif.associated.File
which enables an instance ofmodelcif.data.Data
(or its subclasses) to be added to it and the dumper would then use this to assign adata_id
in the appropriate table. Do you think this would work?We have a few use cases in ModelArchive which could benefit from this and one of them is a conversion I am currently doing.