Git Product home page Git Product logo

bartio.jl's People

Contributors

atrotier avatar jakobasslaender avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

atrotier

bartio.jl's Issues

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

To Do list before first release

  • Documentation
  • Test that path to bart folder exist and also that bart has been compiled (bart library is present in the folder)
  • Edit codecov path to that repository

Do you have something else in mind ?

PyCall functionality does not work

@aTrotier : I am really struggling with getting the PyCall functionality working, on all 3 computers that I am using. My latest error that I am getting is:

julia> bart = wrapper_bart(expanduser("/gpfs/home/asslaj01/Documents/toolboxes/bart/"))
Requirement already satisfied: numpy in /gpfs/scratch/asslaj01/.julia/conda/3/lib/python3.9/site-packages (1.22.3)
ERROR: PyError (PyImport_ImportModule

The Python package bart could not be imported by pyimport. Usually this means
that you did not install bart in the Python version being used by PyCall.

PyCall is currently configured to use the Julia-specific Python distribution
installed by the Conda.jl package.  To install the bart module, you can
use `pyimport_conda("bart", PKG)`, where PKG is the Anaconda
package that contains the module bart, or alternatively you can use the
Conda package directly (via `using Conda` followed by `Conda.add` etcetera).

Alternatively, if you want to use a different Python distribution on your
system, such as a system-wide Python (as opposed to the Julia-specific Python),
you can re-configure PyCall with that Python.   As explained in the PyCall
documentation, set ENV["PYTHON"] to the path/name of the python executable
you want to use, run Pkg.build("PyCall"), and re-launch Julia.

) <class 'ModuleNotFoundError'>
ModuleNotFoundError("No module named 'bart'")

Stacktrace:
 [1] pyimport(name::String)
   @ PyCall ~/.julia/packages/PyCall/ygXW2/src/PyCall.jl:558
 [2] wrapper_bart(pathtobart::String)
   @ BartIO ~/.julia/dev/BartIO/src/BartIO.jl:43
 [3] top-level scope
   @ REPL[6]:1

And, worst of all, these problems prevents me from using the read/write functionality and hence, makes the entire package un-usable. So my question is,

  1. what are you using Pycall.jl for? Would it also be possible to just use system calls to BART?
  2. would it be worth to re-structure the toolbox -- even though it is already small so that BartIO maybe just contains the read/write functionality and a separate package Bart.jl contains the wrapper functionality? Or are there other ways to ensure that the read/write functionality remains usable, even if PyCall does not precompile or is otherwise unusable?

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.