Giter Club home page Giter Club logo

trackmate-csvimporter's People

Contributors

ctrueden avatar tinevez avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

trackmate-csvimporter's Issues

TrackMateImporter.saveTo wants to use unavailable settings.xstart

With the new update of TrackMate (7.7.1) some dependencies seems to have been broken.

The Importer TrackMateImporter.java tries to access (line 510)

settings.xstart = 0;

but the settings value seems to be absent and I get following error

at fiji.plugin.trackmate.importer.csv.TrackMateImporter.createSettingsFromImageFile(TrackMateImporter.java:510) at fiji.plugin.trackmate.importer.csv.TrackMateImporter.createSettingsFromImageFile(TrackMateImporter.java:465) at fiji.plugin.trackmate.importer.csv.TrackMateImporter.getSettings(TrackMateImporter.java:204) at fiji.plugin.trackmate.importer.csv.TrackMateImporter.saveTo(TrackMateImporter.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) java.lang.NoSuchFieldError: java.lang.NoSuchFieldError: xstart

Can't read CSV file outputted from ThunderSTORM

I've been trying to localize single molecules with ThunderSTORM and then pass these coordinates to TrackMate to do the tracking (file: 220322_slide2_1_tSTORM.csv). But, I found that the csv file that's directly exported from ThunderSTORM can't be read by TrackMate CSV Importer. In the Import log, I get:

Parsing records.
Could not parse line 1. Malformed number, skipping.
For input string: "1.0" Could not parse line 2. Malformed number, skipping.
For input string: "1.0" Could not parse line 3. Malformed number, skipping.

...and so on for every line of the csv file.

I had a look at a previous discussion on a similar subject: https://forum.image.sc/t/sptpalm-using-thunderstorm-and-trackmate/26039. From that forum, I downloaded the csv file that user had shared (Trial1.csv) to have a look. This one imported completely fine, with no error!

When looking carefully at the two csv files (mine and Trial1.csv), they look like they have an identical format at first. But, @HoldenLab noticed one very subtle difference: in Trial1.csv, the columns for "id" and "frame" are integers, while in mine they are floating points.

I converted those two columns to integers via Matlab (as that's what I'm most familiar with), and then the file uploads perfectly well with the CSV Importer.

So, it seems to be a simple issue. Maybe something changed with how ThunderSTORM exports csv files? At any rate, it would be most helpful if the Importer can read the csv file that's outputted straight from ThunderSTORM without needing to reformat it.

For further context, here is some further information that is possibly relevant:

  • OS: Windows 10
  • FIJI/ImageJ: v1.53q
  • ThunderSTORM: v1.3?
  • TrackMate CSV Importer: v.3.1.1

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.