Giter Club home page Giter Club logo

Comments (4)

gijzelaerr avatar gijzelaerr commented on July 19, 2024

after modifying some imports (removing relative (from . import bla) I'm able to run the test file directly:

λ  HDF5_PLUGIN_PATH=../.lib PYTHONPATH=.. ../.venv3/bin/python test_h52fil.py
blimpy.waterfall INFO     Conversion time: 0.11sec
blimpy.file_wrapper WARNING  Selection size of 0.06 GB, exceeding our size limit 0.00 GB. Instance created, header loaded, but data not loaded, please try another (t,v) selection.
blimpy.waterfall INFO     Detecting high frequency resolution data.
blimpy.waterfall INFO     Using 1 n_blobs to write the data.
blimpy.waterfall INFO     Reading 1 of 1
blimpy.waterfall INFO     Conversion time: 0.19sec
blimpy.waterfall INFO     Conversion time: 0.12sec

It looks like you run the test from the source checkout but it is importing blimpy code from an older instllation?

from blimpy.

gijzelaerr avatar gijzelaerr commented on July 19, 2024

forcing the PYTHONPATH to your blimpy source folder should solve this issue. An alternative is to bundle the test files with the installation, which is probably not what you want since it is quite big.

from blimpy.

gijzelaerr avatar gijzelaerr commented on July 19, 2024

@jeenriquez is this solved by setting the PYTHONPATH properly?

from blimpy.

jeenriquez avatar jeenriquez commented on July 19, 2024

that fixed it! Thanks Gijs.

from blimpy.

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.