#14845 closed defect (limitation)

bundle metadata incorrect

Reported by: Eric Pettersen Owned by: Zach Pearson
Priority: high Milestone:
Component: Build System Version:
Keywords: Cc: Greg Couch
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

In mmcif/bundle_info.xml I want to define two fetchers For PDB-REDO, one for the structure files and another for the map files. They have the same name ("redo") but different formats ("mmcif" and "mtz"). This is similar to various other fetchers (e.g. "pdb", which offers several format [mmcif, pdb, mmtf]). Right now the map fetcher is commented out and the structure fetcher works fine. If I uncomment the map fetcher, then bundle builder only puts the map fetcher info into the METADATA file and omits the structure fetcher info. That's not so fine.

Change History (2)

comment:1 by Zach Pearson, 19 months ago

XML bundle builder keeps (manager, name) pairs for providers for formatting later. Since you define two ("open command", "redo") pairs with different formats, etc, the second one will always knock the first one out of the dictionary.

You could use TOML bundle builder, which keeps a list of providers instead.

comment:2 by Eric Pettersen, 19 months ago

Resolution: limitation
Status: assignedclosed

Ah. Well, I am loathe to convert bundle_info.xml to pyproject.toml in someone else's bundle(!), so I'll just move the map fetch to the map bundle. Thanks for the info.

Note: See TracTickets for help on using tickets.