Giter Club home page Giter Club logo

Comments (2)

novoid avatar novoid commented on August 25, 2024

On the one hand side, I'd say that people installing memacs via pip don't want to have test data shipped. (My personal not so strong opinion.) If you do want to have all the files, clone it via git and GitHub.

On the other hand, I'm not that familiar with packaging to pip. Therefore, I truly don't know why some files are shipped and some aren't. Currently, my VirtualBox setup is broken (severe Linux issues with the default LTS kernel and VirtualBox-issues with the most recent kernel) so I only have one machine at hand which doesn't have memacs installed via pip.

Maybe somebody wants to help here and explain the behavior?

from memacs.

nbehrnd avatar nbehrnd commented on August 25, 2024

I agree the mileage may vary. Speaking for the example of the module about .csv data, reading /Memacs/memacs/tests/csv_test.py did not help me as much as /Memacs/memacs/tests/data/example1.csv. Not so much because semi-colons are used as delimiter in the c sv file; the documentation explicitly mentions this default, but because of the organization/sequence of entries.

  • string "** <2012-02-23 Thu> Amazon" in the file for testing is split into two sub strings
  • in csv_test.py, currency is an item ahead of the value (like the US American $ 4.99) while example1.csv adopts the pattern where units follows the number, e.g., 9,99 €.

As so often, eventually, it is a question of convention. The addition of the explicit note -- like in the already accepted and merged PR -- is a suitable compromise with only little maintenance for future releases; it doesn't require an update if the content of the test data (Memacs/memacs/tests/data/, GitHub path) are edited.

from memacs.

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.