Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.1.1 - not compatible with PE schema 'http://www.perkinelmer.com/PEHH/HarmonyV6' #32

Open
adamananos opened this issue Sep 26, 2023 · 5 comments

Comments

@adamananos
Copy link

adamananos commented Sep 26, 2023

For index.xml files exported using Harmony V6 ('http://www.perkinelmer.com/PEHH/HarmonyV6'), the schema is different such that many of the image metadata fields are no longer nested under Images, but now under Maps>Map>Entry.

v0.1.1 fails to extract the relevant metadata.

@rlang81
Copy link

rlang81 commented Nov 16, 2023

I came across the same problem (v0.1.2). I spent some time trying to tinker with the code in the repository, but it turned out to be easier to just write a quick function / script to re-write Harmony V6 index files to be compatible, at the cost of a few MBs of disk space. Here it is in case you or anyone else is looking for a bandaid fix: https://gist.github.com/rlang81/7e0ea36cf1d5ec780b1c2b94702f0383

@carmendv
Copy link

Here with the same problem, except that my index.xml file was exported using Harmony V7 ('http://www.perkinelmer.com/PEHH/HarmonyV7') I never used the V6, I went straight from V5 to V7.

@ErinWeisbart
Copy link
Member

@rlang81 We are currently working on upgrading pe2loaddata so that it handles different/newer versions of Index files. Thanks so much for sharing your gist. Do you mind also sharing an Index file that worked with your gist?

@rlang81
Copy link

rlang81 commented Jul 11, 2024

@ErinWeisbart Sure, here is an example index file before (Pre) and after (Post) processing with the gist I shared earlier. If you examine the image entries you should see that the metadata @adamananos referenced has been copied from the Map entry to the image entry in the "Post" file, which is a bandaid fix for the problem.

Index_Examples.zip

@ErinWeisbart
Copy link
Member

Thanks @rlang81 !
@sugan89 Let's see if we can easily support this Index.xml too with the changes we're making.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants