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

Schema not loading in DataHarmonizer (only Chrome and Edge; Firefox working) #402

Closed
jannikseidelQBiC opened this issue Jun 26, 2023 · 3 comments

Comments

@jannikseidelQBiC
Copy link

Dear developers of the DataHarmonizer,
first of all, thank you for your great work!

I have an issue with loading my self-developed schema with Chrome and Edge (tested on MacOS (ARM) and Windows 11(Intel)).
The schema does not load with the mentioned browsers (except Firefox, there everything is working).
The yaml-file is approx. 39 MB and the schema.json approx. 44 MB, so quiet large. I put a few ontologies (the largest is ChEBI, where I only used leaf nodes of the obo graph) into the DataHarmonizer schema as controlled vocabulary.

Could you tell me if someone has the same problem and possible solutions? (And if it is a DataHarmonizer problem or a browser issue)

Thanks in advance

@jannikseidelQBiC
Copy link
Author

The large ontology as controlled vocabulary was the problem. Might be of interest for others :)

@ddooley
Copy link
Collaborator

ddooley commented Jul 4, 2023

Ok, thanks for this update. So you were able to load a smaller version of your schema? It sounds like to a small schema with "larger" enumerations to work we would need to implement dynamic lookup of terms for enumeration selection lists?

@jannikseidelQBiC
Copy link
Author

Right, I threw out the validation of chemicals and it worked just fine. It could be that dynamic lookup would solve the problem, I think it would make the insertion of terms smoother (it took up to 15 seconds to load the dialog in firefox).
This is also an interesting point: Why did it work with firefox but not with chrome/edge/safari? I didn't find an answer to that point.

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

2 participants