Coder Social home page Coder Social logo

Comments (10)

nsheff avatar nsheff commented on August 16, 2024

Uh oh, that's a critical problem...

from lolaweb.

nsheff avatar nsheff commented on August 16, 2024

I can confirm that the results are always showing example results, and never real results.

Here is an example run done with a different input bed file. it shows the example results output.

http://lolaweb.databio.org/?key=U8IARBLKXT1JDFC

from lolaweb.

nsheff avatar nsheff commented on August 16, 2024

I am not sure what would cause this; Is this coming from this line?

simpleCache(keyphrase, assignToVariable = "cipher", loadEnvir = environment(), cacheDir = "cache")

Possibly it thinks the cache is already loaded (because you've just tried the example one), so it doesn't load the new cache?

from lolaweb.

nsheff avatar nsheff commented on August 16, 2024

I can confirm this problem is also on dev; and the cache key is correctly displayed in the database, yet the results are incorrect.

http://dev.lolaweb.databio.org/?key=8ODJMKWV3FC4RXQ

from lolaweb.

nsheff avatar nsheff commented on August 16, 2024

Ok, the problem looks to be in the file upload; it is actually recalculating and re-caching the bad cache.

So somehow even if you upload a custom bed file, it's running lola on the example one, I think.

from lolaweb.

nsheff avatar nsheff commented on August 16, 2024

The bug is in here:

if(!exampleuserset$toggle) {

it is always just going to the example even when a user uploads a file

from lolaweb.

nsheff avatar nsheff commented on August 16, 2024

exampleuserset$toggle is set to true no matter if the user has clicked "Browse for data to upload" or "load example data", so it doesn't matter what the user does, it always loads example data.

from lolaweb.

nsheff avatar nsheff commented on August 16, 2024

The issue was that the toggle flag on the example data was set to TRUE, but the default was actually FALSE.

If you toggle the button a few times it will work; but if you just straight up try to upload your data, the incorrect default value kills it.

from lolaweb.

nsheff avatar nsheff commented on August 16, 2024

I can confirm this is working now in dev.

from lolaweb.

fhalbritter avatar fhalbritter commented on August 16, 2024

Sweet. Thanks for the rapid response

from lolaweb.

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.