Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot regenerate ICY data packages #12

Closed
simleo opened this issue Apr 21, 2017 · 4 comments
Closed

Cannot regenerate ICY data packages #12

simleo opened this issue Apr 21, 2017 · 4 comments
Assignees
Labels

Comments

@simleo
Copy link
Member

simleo commented Apr 21, 2017

I have encountered an error while trying to regenerate data packages from the ICY examples:

% python3 dpkg.py track_processor_ICY_clean.csv  
Configuration file found: cell_track_dpkg.ini
[...]
>>> opening file: track_processor_ICY_clean.csv
>>> header of the file:
trackID,t,x,y,z

>>> rest of the file:
0.0,0.0,129.8153846153846,995.0153846153846,0.0
[...]

Traceback (most recent call last):
  File "dpkg.py", line 38, in <module>
    dict_ = readfile.read_file(f, track_dict)
  File "/Users/simleo/git/cell_track_dpkg/dpkg/readfile.py", line 368, in read_file
    (objects, links) = read_cellprofiler(f, track_dict)
  File "/Users/simleo/git/cell_track_dpkg/dpkg/readfile.py", line 254, in read_cellprofiler
    digits = x.split('_')[2]
IndexError: list index out of range
@simleo
Copy link
Member Author

simleo commented May 5, 2017

After merging #19, ICY examples work, but not if run directly on the _clean files, i.e., we have to run python3 create_dpkg.py track_processor_ICY.csv. See #19 (comment)

@simleo simleo closed this as completed May 5, 2017
@pcmasuzzo
Copy link
Member

I see the point, but actually ICY does not generate csv files at all. You should instead run:
python3 create_dpkg.py track_processor_ICY.xls (is the xls that is used as a raw file input, as explained here).
Having said that, we most likely need to implement #16 to avoid extra issues.

@simleo
Copy link
Member Author

simleo commented May 5, 2017

You should instead run: python3 create_dpkg.py track_processor_ICY.xls

Forgot to mention that I've done that and it also works.

it is the xls that is used as a raw file input

Apologies for misreading your docs :) This is actually good, because for now we have a 1 to 1 relationship between extensions and formats.

@pcmasuzzo
Copy link
Member

No problem at all.
And yes, right now we have a 1:1 relationship between extensions and formats 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants