question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Load peaks from file post v1.2.8

See original GitHub issue

Hi !

With v1.2.8, To get peaks and create peaks file from it, I use to use this:

peaks = object.backend.getPeaks(960);

This seems to be broken post v1.2.8 (like v1.4.0).

After quite some testing, I found that the following code produces the same json file than in v1.2.8

peaks = object.backend.getPeaks(960, 0, 959);

Note: I think there should have been something do about this to assure backward compatibility, as I spent hours on it, thinking the problem came from elsewhere.

Well I thought that it was good, but despite the files are now the same as before, it seems that something have also change in the way they are render !

Here is my code: wavesurfer.load(file_url, peaks, preload);

and here is what I got with v1.2.8

V1.2.8

And here is the same peaks files, but loaded with v1.4.0 (and v1.3.x)

v1.4.0

Why is there such difference ? What is the new way to load peaks ? Could backward compatibility be assured right within wavesurfer-js ?

Thanks for your assistance !

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:38 (18 by maintainers)

github_iconTop GitHub Comments

2reactions
entonbibacommented, Jun 6, 2017

closing, fixed once pr #1114 is merged. re-open if issue persists after merge.

1reaction
entonbibacommented, Jun 6, 2017

@X-Raym @taylorvc May you guys test it with the files now. https://codepen.io/entonbiba/pen/PmpXqJ

Read more comments on GitHub >

github_iconTop Results From Across the Web

Questions about DiffBind loaded peaks and re-count reads
I am using DiffBind for merging peaks and re-counting the reads in the consensus regions and have a few questions about diffBind. the...
Read more >
Loading PEAKS Data into Scaffold
Scaffold supports loading data from PEAKS in the mzIdentML/MGF file format. The protein and peptide identifications are contained in the...
Read more >
Hack of Sigllent spectrum analyzer ssa3021X? - EEVblog
This firmware must be upgraded from V1.2.8.1 or later. If your SSA3000X has an ... Fixed the trace file .trc load and display...
Read more >
Minimum Design Loads for Buildings and Other Structures
This standard was developed by a consensus standards development process which has been accredited by the American National Standards. Institute (ANSI).
Read more >
Spectragryph - optical spectroscopy software: Help & Guidance
To enable reading of *.spc files, Spectragryph has to be installed with admin ... Spectragryph version v1.2.8 and older worked only with OmniDriver...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found