Giter VIP home page Giter VIP logo

iss's People

Contributors

eturkes avatar jduffield65 avatar kdharris101 avatar mwshinn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

iss's Issues

Installation of coppafish causes error due to deprecated `sklearn`

Hello,
I want to use the coppaFISH pipeline for my in situ seq data. I created a conda environment in Python 3.8, 3.9, 3.10 and 3.11. In each, I tried to install the code with the following line:
pip install "coppafish[optimised,plotting]" (without quotation marks it wouldn't work at all)

I got the following error message, no matter which python version I used:

Collecting coppafish[optimised,plotting]
  Using cached coppafish-0.1.6-py3-none-any.whl.metadata (2.6 kB)
Collecting numpy (from coppafish[optimised,plotting])
  Using cached numpy-1.24.4-cp38-cp38-macosx_11_0_arm64.whl.metadata (5.6 kB)
Collecting numpy-indexed (from coppafish[optimised,plotting])
  Using cached numpy_indexed-0.3.7-py2.py3-none-any.whl.metadata (4.2 kB)
Collecting tqdm (from coppafish[optimised,plotting])
  Using cached tqdm-4.66.4-py3-none-any.whl.metadata (57 kB)
Collecting scipy (from coppafish[optimised,plotting])
  Using cached scipy-1.10.1-cp38-cp38-macosx_12_0_arm64.whl.metadata (53 kB)
Collecting sklearn (from coppafish[optimised,plotting])
  Using cached sklearn-0.0.post12.tar.gz (2.6 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [15 lines of output]
      The 'sklearn' PyPI package is deprecated, use 'scikit-learn'
      rather than 'sklearn' for pip commands.
      
      Here is how to fix this error in the main use cases:
      - use 'pip install scikit-learn' rather than 'pip install sklearn'
      - replace 'sklearn' by 'scikit-learn' in your pip requirements files
        (requirements.txt, setup.py, setup.cfg, Pipfile, etc ...)
      - if the 'sklearn' package is used by one of your dependencies,
        it would be great if you take some time to track which package uses
        'sklearn' instead of 'scikit-learn' and report it to their issue tracker
      - as a last resort, set the environment variable
        SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True to avoid this error
      
      More information is available at
      https://github.com/scikit-learn/sklearn-pypi-package
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I installed scikit-learn separately with pip install scikit-learn but it didn't help because coppafish still tries to install it via pip install sklearn.

Is it possible for you to update this? Or can I circumvent it somehow?
Thanks!

Error in `extract_and_filter.m` line 249: `I_mod = o.fstack_modified(I);`

Hi Josh. I tried running the latest PixelBased on Seppe's new data 3 times (I didn't clear the previously created tiles/output in the example here, but I did try it earlier). The first and third time I received the following error message that I refer to in the title:

Round 4 tile 18 already done.
Round 4 tile 19 already done.
Round 4 tile 20 already done.
Warning: xypos empty - using values from previous round 
> In iss/extract_and_filter (line 79)
  In bridge_process_sample1 (line 67) 
Error using sub2ind (line 73)
Out of range subscript.

Error in iss/fstack_modified>gauss3P (line 145)
Index1 = sub2ind([M,N,P], IM(:), IN(:), Ic-STEP);

Error in iss/fstack_modified (line 79)
[u, s, A, fmax] = gauss3P(opts.focus, fm);

Error in iss/extract_and_filter (line 249)
                I_mod = o.fstack_modified(I);

Error in bridge_process_sample1 (line 67)
o = o.extract_and_filter;

The second time I received a different error message and I followed its directions:

Round 4 tile 18 already done.
Round 4 tile 19 already done.
Round 4 tile 20 already done.
Warning: xypos empty - using values from previous round 
> In iss/extract_and_filter (line 79)
  In bridge_process_sample1 (line 67) 
Error using iss/extract_and_filter (line 229)
Some tiles in imaging rounds already exist, but o.ExtractScale = auto.
This will result in different scalings used for different tiles.
If tiles up to this point were obtained with a manual value of o.ExtractScale,
set o.ExtractScale to this value and rerun.
If tiles up to this point were obtained with auto value, delete tile 8 in round 1 and rerun, tile location:
cache/NLF-133genes/sample1/tiles/r0001_t8.tif.

Error in bridge_process_sample1 (line 67)
o = o.extract_and_filter;

I should point out that Seppe ran into a computer issue during sequencing at Round 4. He actually ended up doing Round 4 twice and this is using his second go at it. So it's possibly a technical issue not related to your software. But if you're not sure what's going on, do you think I should try an earlier commit? Perhaps the one that I had been using on his pilot? Or maybe I can try the current commit on his pilot and see if its goes through?

Error when converting from gpuArray to double in `extract_and_filter`

Hi, I'm not sure if the GPU features in extract_and_filter are complete yet, but I run into the error in the screenshot on the PixelBased branch. I'm not too familiar with GPU processing so not sure if this is specific to my system. I figured I'd let you know in case you are having success with running the code as is. Attached also are some GPU/system info that might help.

Screenshot from 2020-04-17 22-52-20

Screenshot from 2020-04-21 15-24-34

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.