TeselaGen/openVectorEditor

Cannot access the dropped sequence file - only the sequence data?

acostin opened this issue · 3 comments

@tnrich
Is there a way to access to dropped sequence file itself in the onImport or otherwise?

I need to grab the file to get its name and extension, but onImport only gives me the sequence data. I see that importSequenceFromFile is being called beforehand which has access to the file, but not sure how I can get it from the editor object? Is there a way to do this, or would this be a new feature request?

Thanks

Hi @acostin,

Please note that this repo has moved to https://github.com/TeselaGen/tg-oss/

I've published a new version of ove from there @teselagen/ove@0.3.10 which should fix your issue, the new onImport signature is as follows:

image

Lemme know if this solves your issue :)

@tnrich

This works great, thanks!

Glad to hear it!