Giter Club home page Giter Club logo

Comments (3)

hamed-musallam avatar hamed-musallam commented on August 23, 2024 2

after we look down into the problem, all the file extensions are loaded twice in the wrapper because of the reason that i already mentioned in the above comment except the zip file which load four times. this happens because the first time we load the zip to extract the files from filelist-utils package and then pass the files tree down to the nmr-load-save package which loads the extracted files.

it is now resolved, we extract and then load the files once from filelist-utils and pass binary files down to nmr-load-save .

from nmrium-react-wrapper.

CS76 avatar CS76 commented on August 23, 2024

https://nmriumdev.nmrxiv.org/#/demo

from nmrium-react-wrapper.

hamed-musallam avatar hamed-musallam commented on August 23, 2024

@CS76

currently, we have this behavior:

1- the first time, Which is a necessary step, currently NMRium we can not accept URLs directly so we need to read the files to generate the {Source, and sourceSelector}

const { data } = await readFromWebSource({ entries });

2- the second time when we pass the JSON object to NMRium and start to read the files and display the Spectra

from nmrium-react-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.