Git Product home page Git Product logo

Comments (4)

cross85 avatar cross85 commented on September 15, 2024 1

Thanks, as you said, it was a couple of file without trajectories.
If anyone has the same problem an a lot of files, the easiest way I found to know which file is making the problem, is adding print(filename) to this file hyfile_handler.py
like this:

    with open(filename, 'r') as hyfile:

        contents = hyfile.readlines()
        print(filename)

        skip = False
        atdata = False

So the las name of the list is the file without trajectories.
After you solve the problem, you can delete that line.

from pysplit.

mscross avatar mscross commented on September 15, 2024

When file loading fails here, that means you have a file that has a header and at most one line of data: The loader found "PRESSURE" at line ind, and this if statement is an attempt to determine whether your t=0 consists of the next one or next two lines in the file.

from pysplit.

tingvan avatar tingvan commented on September 15, 2024

Hello, I got the same problem as yours. In my case, I followed your method to determine which file is making problem, and I found that the files named the last hours in last day of every month I assigned are problem files (i.e. umnjan0500winter2011013123 & umnjul0500summer2012073123). What should I do next, to solve this problem?

from pysplit.

cross85 avatar cross85 commented on September 15, 2024

Hi @tingvan, you can just delete the files and create the INFILE again. There will be no problem, because you won't use them to create the clusters anyways.

from pysplit.

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.