Coder Social home page Coder Social logo

Comments (8)

pakiessling avatar pakiessling commented on June 28, 2024 1

@sarahyk Managed to get baysor 0.6.1 to work. The key is to downgrade Julia to 1.8.5 like so:

conda create -y -n baysor-test julia=1.8.5
conda activate baysor-test
julia -e 'using Pkg; Pkg.add(PackageSpec(url="https://github.com/kharchenkolab/Baysor.git")); Pkg.build()'

After that I tested baysor on the test osmfish data:

export JULIA_NUM_THREADS=30
baysor  run \
-c ./data/osmfish.toml -o ./output_osmfish3 -p --save-polygons=geojson ./data/mRNA_coords_raw_counting.csv :random

and received reports, the csv's and polygons 🥳

from baysor.

pakiessling avatar pakiessling commented on June 28, 2024

@VPetukhov

Can confirm that v0.6.1 and v.0.6.0 binaries produce the error on starmap example data when using prior segmentation.
Let me know if I can help somehow, would really love to use the package!

from baysor.

sarahyk avatar sarahyk commented on June 28, 2024

hi @pakiessling, have you had any success running the newer version of baysor through other installation methods like docker? I've been trying to find a solution to get this to run, but haven't had any luck yet

from baysor.

pakiessling avatar pakiessling commented on June 28, 2024

@sarahyk I did some more investigating and was able to avoid the boundary_polygons_from_grid error by removing the report flag from my command like this: baysor run -c ./data/starmap.toml -o ./output_dapi_star_nohup ./data/molecules.csv ./data/segmentation.tiff
The bad news is that no output at all is generated, just a log file with the last entry Processing complete...

This is also happening in the docker for me 😞

#78 mentions downgrading julia to 1.8.5 so I will give that a shot next...

from baysor.

harrymueller avatar harrymueller commented on June 28, 2024

Hi, I'm getting a similar issue with Baysor 0.6.1 and Julia 1.8.5 on Vizgen MERFISH data:
ERROR: LoadError: MethodError: no method matching boundary_polygons_from_grid(::Matrix{UInt32}; grid_step=5.0).

Command:
baysor+1.8.5 run ./transcript_subset_0.csv -o ./baysor-output -c ./baysor.toml --save-polygons GeoJSON --plot --count-matrix-format loom ./bin_mask.tiff

I've attached the stack trace, along with the configuration TOML:

This only occurs when passing in the pre-segmented image, Baysor works fine without the image.

Additionally, the OSM-FISH example and the ISS example do not work - the same error occurs.

from baysor.

HaojiaWu avatar HaojiaWu commented on June 28, 2024

I am getting the same error. Have to go back to v0.5.1...
@VPetukhov can you take a look?

from baysor.

VPetukhov avatar VPetukhov commented on June 28, 2024

Hi everyone,
Thanks for the report! Fixed that in the dev branch. Will release it with v0.6.2 soon.

from baysor.

VPetukhov avatar VPetukhov commented on June 28, 2024

v0.6.2 is released now, so should be fixed

from baysor.

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.