Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Editor label handleAlignment callback method return data cannot be displayed correctly #907

Open
avisajn opened this issue Jul 18, 2023 · 2 comments

Comments

@avisajn
Copy link

avisajn commented Jul 18, 2023

@tnrich sorry i still have problem with handleAlignment, I run the official demo
image
What kind of data format do these three values ​​in handleAlignment need to return to display normally? There will be problems with the rendering I wrote in this way. Can you give me a fake data? This has troubled me for a long time,
Because I'm not sure whether it's the code or the data, you'd better try it with fake data

this is my data , like this
return { alignedSequences: [{ id: "ef83a2d9-2b56-4a06-8a83-55ee3a0d1604", features: [], name: "F05206", sequence: "--atgcatcaccatcat", }, { id: "ef83a2d9-2b56-4a06-8a83-55ee3a0d1604", features: [], name: "F05206", sequence: "--atgcatcaccatcat" }], pairwiseAlignments: false, alignmentsToRefSeq: false, }

20230718163324_rec_

@mega-bisharp
Copy link

you should add content of alignedSequences to pairwiseAlignments

@tnrich
Copy link
Contributor

tnrich commented Jul 26, 2023

@avisajn you can simply not return pairwiseAlignments and alignmentsToRefSeq if they're not being used.

As for what the return value should look like, it should look like one of the example alignment's data. Go look at the example alignments for more info on that!

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

No branches or pull requests

3 participants